I think I can help. I took a program:
Code:
#include <stdio.h>
#define STRINGIFY(x) #x
#define WYSIWYG(x) puts ( x )
#define WORKERID 12345
int main ( void )
{
const char *thing = STRINGIFY(WORKERID);
WYSIWYG(thing);
return 0;
}
Now with specific compiler switches (-E) I was able to produce an in-between stage text file. That file has no #defines or #includes anymore. The interesting part is:
Code:
int main ( void )
{
const char *thing = "WORKERID";
puts ( thing );
return 0;
}
And of course, removing the -E I can make a exe and run it.
So I hope this was instructive.