# Kc++, TP

Tells the compiler to process all source or unrecognized file types as C++ source files. This is a deprecated option. The replacement option for Kc++ is -x c++; the replacement option for /TP is /Tp<file>. This content is specific to C++; it does not apply to DPC++.

## Syntax

Linux: | -Kc++

Windows: | /TP

## Arguments

None

## 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 all source or unrecognized file types as C++ source files.

## IDE Equivalent

Visual Studio: Advanced > Compile As

Eclipse: None

## Alternate Options

Linux: -x c++

Windows: /Tp

Parent topic: Preprocessor Options