devphylosoff <de*****@gmail.comwrites:
I have cpp file with :
#if 1
#include"myfile.h"
#else
#include "libfile.h"
#endif
how it works ?
Any textbook on C or C++ should explain that. If condition given in #if
statement is true the portion between #if and #else will be compiled
otherwise the part between #else and #endif. (There is also #ifdef,
#ifndef, #elsif.)
--
Best regards, _ _
.o. | Liege of Serenly Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michal "mina86" Nazarewicz (o o)
ooo +--<mina86*tlen.pl>---<jid:mina86*chrome.pl>--ooO--(_)--Ooo--