Question

I can't find the option people call "C/C++" on Visual Studio 2010 Ultimate's Project Property Pages to change some compiler options. Here's what i got:

Screenshot of property pages

I've tried creating an Empty Project and a Win32 Project set to empty with no result. Can anyone help?

Was it helpful?

Solution

Visual Studio 2010 doesn't show the C/C++ properties until you have at least one .cpp file in your project (might also accept other file types, but .h does not work).

So add a single .cpp file to your project and when you go to the property pages, it should show up right above the Linker settings.

OTHER TIPS

in the additional options, add /TP for C++ and /TC for C.

/TP will compile all the files as C++, regardless of their file extensions. /TC will compile all the files as C, regardless of their file extensions.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top