Home : File Types : CPP File

.CPP File Extension

NEW! Open any file with File Viewer Lite.

File TypeC++ Source Code File

4.3 (40 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.


Source code file written in C++, a popular programming language that adds features such as object-oriented programming to C; can be a standalone program or one of many files references in a development project; 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.

Program(s) that open .CPP files
Microsoft Windows LogoWindows
Microsoft Visual Studio 2013
Eclipse IDE for C Developers
Embarcadero Technologies C++ Builder
ES-Computing EditPlus
BloodshedSoftware Dev-C++
Mac OS X LogoMac
Apple Xcode
Eclipse IDE for C Developers
GNU Compiler Collection (GCC)
MacroMates TextMate
Freescale CodeWarrior Development Tools
Linux LogoLinux
Eclipse IDE for C Developers
GNU Compiler Collection (GCC)
Updated 8/24/2012