hi i want to control parts of my code with #ifdef directive,so I need to control a #define directive before! something like this:
if (condition)
#define active
and in other files I will check whether "active" is defined or not! ok,I can put :
#define active
in header file then use it in others cpp files but I cant use if statement in header! how can i do that? cheers, peiman