T
thinktwice
i want to define a macro like
#define STRING2(x) #x
#define STRING(x) STRING2(x)
#define PROMPT(x) #pragma message(__FILE__ "(" STRING(__LINE__) "):"
STRING(x)) <---- compile failed
i want to use this macro to remind me that something need to be done
but not done yet. is it possible to write such a macro??
#define STRING2(x) #x
#define STRING(x) STRING2(x)
#define PROMPT(x) #pragma message(__FILE__ "(" STRING(__LINE__) "):"
STRING(x)) <---- compile failed
i want to use this macro to remind me that something need to be done
but not done yet. is it possible to write such a macro??