I want to see how my #include files be processed when Microsoft Visual Studio C++ compile it.
As I remember, there is a compile option to inline all #includes and #define lines but I can't find it.
I use MSVC 2005 sp1.
The option you are looking for is under your project properties, "C/C++", "Preprocessor" then change "Generate Preprocessed File" to "With Line Numbers" or "Without Line Numbers", whatever you want.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more