views:

14

answers:

1

Hi, 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. Thanks.

+2  A: 

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.

Dean Harding
Thanks. That's what I want.~
P-P