Z
zaheer031
Hi All,
I need to define a macro as follows
#define VERSION "1.0"
#ifdef (VERSION == "1.0")
#endif
main() {
}
I want to check the Version using macro . But the code compilation
gives error " macro names must be identifiers"
I know that #ifdef will work only for integers . Also I need this to
be done before main.
Need help for the same.
Regards,
Khan.
I need to define a macro as follows
#define VERSION "1.0"
#ifdef (VERSION == "1.0")
#endif
main() {
}
I want to check the Version using macro . But the code compilation
gives error " macro names must be identifiers"
I know that #ifdef will work only for integers . Also I need this to
be done before main.
Need help for the same.
Regards,
Khan.