Home : File Types : CPP File

.CPP File Extension

File TypeC++ Source Code File

4.3 (58 Votes) Thanks for voting!
Rare Uncommon Average Common Very Common
CategoryDeveloper Files


This file is saved in a plain text format. You can open and view the contents of this file using a text editor.

What is a CPP file?

A CPP file is a source code file written in C++, a popular programming language that adds features such as object-oriented programming to C. It can be a standalone program or one of many files references in a development project. CPP files must be compiled by a C++ compiler for the target platform before run.

More Information

CPP files are most commonly edited with programs that provide syntax highlighting. You can still open CPP files using any text editor, but programs that provide syntax highlighting, auto completion, and other helpful tools are most often used.

C++ is one of the most popular programming languages and therefore CPP files are very common.

Common CPP Filenames

main.cpp - The source code filename typically used for the main() function of a C++ program, where the program begins execution.

Open and view .CPP files with File Viewer Plus.
Programs that open CPP files
File Viewer Plus
Microsoft Visual Studio 2015
Eclipse IDE for C Developers
Embarcadero Technologies C++ Builder
ES-Computing EditPlus
BloodshedSoftware Dev-C++
Apple Xcode
Eclipse IDE for C Developers
GNU Compiler Collection (GCC)
MacroMates TextMate
Freescale CodeWarrior Development Tools
Eclipse IDE for C Developers
GNU Compiler Collection (GCC)
Updated 8/24/2016

.CPP Extension Information

This page contains information about the file extension CPP and its known file associations. Our goal is to help you understand what a *.cpp file is and how to open it.

The C++ Source Code file type, file format description, and programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and do not publish any information we have not verified.

If you would like to suggest any additions or updates to this page, please let us know.