What can i predict from this code ?
say ## is a Token merge
and if this int* and char* are mine other structure pointer
#define MyTest(MINE_CONST) \
int* pInt, char* pChar,MINE_CONST** ppDear##MINE_CONST, int nvalue
What can i predict from this code ?
say ## is a Token merge
and if this int* and char* are mine other structure pointer
#define MyTest(MINE_CONST) \
int* pInt, char* pChar,MINE_CONST** ppDear##MINE_CONST, int nvalue
Show an example use of the macro.
If you're using gcc, then use the -E command line switch and find out for yourself.
If you're using VC++, then use the /E command line switch.
These show the code after the pre-processor has run, but before the compiler does anything.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Thank's salem,
let me try it