3 Jan
2011
3 Jan
'11
9:51 p.m.
Dear Larry,
Use cpp, or, if the compiler is g++, use -E and capture the output, or use, IIRC, the flag -save-temps, which would save the preprocessed code in X.i where the compiled source is X.cpp, for any filename, X.
Wow! That's cool. :)
If you want something readable, then I'd recommend passing the output from the above step through some reformatting program like indent on linux.
Do you happen to know the Windows counterpart of that? MinGW32 would also do. TIA, --Hossein