I'm trying to diagnose a problem with a preprocessor macro and thought I'd use /P (http://msdn.microsoft.com/en-us/library/8z9z0bx6.aspx) so I can see what it expands to.
Now, when I compile the .cpp file, I see a .i file temporarily appear next to it. I can't open the file as I get the error that it is locked by another process. Once the compile completes, the .i file seems to get automatically deleted again.
How can I see what the preprocessor macro expands to?
Thanks.