# 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>.

## Syntax

Linux: | -Kc++

macOS: | -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

Xcode: None

## Alternate Options

Linux and macOS*: -x c++

Windows: /Tp

Parent topic: Preprocessor Options