문제

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?

도움이 되었습니까?

해결책

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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top