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

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -