# Tp

Tells the compiler to process a file as a C++ source file.

## Syntax

Linux: | None

macOS: | None

Windows: | /Tp filename

## Arguments

filename | Is the file name to be processed as a C++ source file.

## Default

OFF | The compiler uses default rules for determining whether a file is a C++ source file.

## Description

This option tells the compiler to process a file as a C++ source file.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Miscellaneous Options

## See Also

TP compiler option
Tc compiler option