Using .cc suffix in addition to .cpp
-
Greetings, I have some C++ source files that have a .cc suffix and I would like them to be recognized by Visual Studio 6.0 in the same manner as .cpp. Other than renaming the files (not an option for obscure reasons), how can I get VS to compile them exactly like .cpp files? Thanks!
-
Greetings, I have some C++ source files that have a .cc suffix and I would like them to be recognized by Visual Studio 6.0 in the same manner as .cpp. Other than renaming the files (not an option for obscure reasons), how can I get VS to compile them exactly like .cpp files? Thanks!
Add the /TP to the compile parameters and it will treat all files as C++. If you just want individual files then use /TpFILENAME. Have a look here for more details
-
Add the /TP to the compile parameters and it will treat all files as C++. If you just want individual files then use /TpFILENAME. Have a look here for more details
THAT's what I was looking for! Thanks!