c++11 - C++ file extension in Visual Studio -


gnu gcc compiler compile c++ source files both .c and.cpp extension.

is possible configure microsoft visual studio compile c++ source , header files extensions .c , .h extension respectively?

the problem windows file system not case-sensitive, there's no difference between .c , .c. means default c language .c apply.

you cannot tell compiler treat .c files c++, can tell treat files in a compilation command c++ regardless of extension /tp switch.


Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

c++ - Can not find the "fiostream.h" file -