To view C/C++ code after preprocessing in Visual Studio?

Asked 2 years ago, Updated 2 years ago, 153 views

I have a C++ code with a lot of preprocessor instructions. I want to see how this was handled, where can I see it in the visual studio?

c c++ debugging visual-studio-2005 preprocessor

2022-09-22 15:56

1 Answers

You must write cl.exe to pass commands from Visual C++. Options for viewing preprocessed files in cl.exe include the following:

/E: stdout preprocessing (similar to GCC's -E option) /P: file preprocessing /EP: stdout preprocessing (#lineless form)


2022-09-22 15:56

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.