Hi
i want to know how could we look at the c file after it has been expanded by the preprocessor before compilation with all the macro values put in the code inside the function where ever they are used. in there a way to do it?
Hi
i want to know how could we look at the c file after it has been expanded by the preprocessor before compilation with all the macro values put in the code inside the function where ever they are used. in there a way to do it?
You can ask gcc to do it for you gcc -E yourfile.cpp
That will expand macros and include files, all the preproccessing.