Hi
I have a Macro defined in one header file say "xyx.h"
say
in another file say "abc.cpp" i want to use the PURPOSE macro which gives "I am learning"
What should i do??.....i tried this
In "abc.cpp" i defined #define UNREL
then
[code]
#ifdef UNREL
string s=PURPOSE
#endif
[/code/
But the value "I am learning" is not coming......
PLease help
I have a Macro defined in one header file say "xyx.h"
say
Code:
#ifdef UNREL #define PURPOSE "I am learning" #define TIME "14" #else #define PURPOSE "Me" #define TIME "14" #endif
What should i do??.....i tried this
In "abc.cpp" i defined #define UNREL
then
[code]
#ifdef UNREL
string s=PURPOSE
#endif
[/code/
But the value "I am learning" is not coming......
PLease help
Comment