Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

/TpFilename, /TP - Specify C++ Source File (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This option specifies that Filename is a C++ source file, even if it does not have the extension .cpp or .cxx. For both options, the space between the option and the Filename argument is optional.

/TP is a global variant of /Tp that specifies all files named on the command line should be treated as C++ source files, without regard to location on the command line in relation to the option.

If this option does not appear, the compiler assumes that files with the .c extension are C source files; files with the .cpp or the .cxx extension are C++ source files.

If you need to specify more than one source file with an extension other than the default (.c, .cpp), you must specify each file with the appropriate command-line option, /Tc or /Tp.

See Also

Compiler Options


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.