| Syntax: | Default: |
| /Tp filename | Compile *.cpp and *.cxx as C++, compile *.c and unrecognized files as C. |
Use /Tp to specify that the following file is a C++ file, regardless of its extension.
Important: The /Tp option must be immediately followed by a filename, and applies only to that file.
By default, the compiler compiles .cpp and .cxx files as C++ files, and .c and all other unrecognized files as C files.