Filename Extensions
If you are seeking information about file extensions, then you are in the right place at right time.

Details of extension .cpp

Below, you can find answers to the following questions:

  • What is the .cpp file?
  • Which program can create the .cpp file?
  • Where can you find a description of the .cpp format?
  • What can convert .cpp files to a different format?
  • Which MIME-type is associated with the .cpp extension?

1 extension(s) and 0 alias(es) in our database

C++ Source Code .cpp file icon

C++ Source Code

CPP file is a C++ Source Code. C++ is a general-purpose programming language. It is a statically-typed free-form multi-paradigm language supporting procedural programming, data abstraction, object-oriented programming, and generic programming.
Category: Development files
Program name: -
Mime-type: text/plain
Magic bytes (HEX): -
Magic string (ASCII): -
cc, cplusplus, cxx
Related extensions:
Assembly Source Code
C Source Code
Visual C++ Dialog
Fortran Source Code
C Header File
Microsoft Visual Studio Workspace Options
Pascal/Delphi Source Code
Visual C# .NET Class
Visual Studio Resource Script

Other types of files may also use the .cpp file extension. If you have helpful information about .cpp extension, write to us!

Is it possible that the filename extension is misspelled?

We found the following similar extensions in our database:

Visual Paradigm Project
Fortran Source Code
Adobe Captivate Project
Capture One Preview Image
Windows Clipboard File
MakeMusic Finale Clip File
Autodesk AutoCAD Plotter Configuration
Patch Creation Properties File
FreePascal Source Code

The .cpp filename extension is often given incorrectly!

According to the searches on our site, these misspellings were the most common in the past year:

cpl (20), clp (14), pcp (14), vpp (13), dpp (10), cpo (10), fpp (9), cp (9), cop (8), pp (7), spp (6), xpp (4)

Can't open a .cpp file?

If you want to open a .cpp file on your computer, you just need to have the appropriate program installed. If the .cpp association isn't set correctly, you may receive the following error message:

Windows can't open this file:

File: example.cpp

To open this file, Windows needs to know what program you want to use to open it. Windows can go online to look it up automatically, or you can manually select from a list of programs that are installed on your computer.

To change file associations:

  • Right-click a file with the extension whose association you want to change, and then click Open With.
  • In the Open With dialog box, click the program whith which you want the file to open, or click Browse to locate the program that you want.
  • Select the Always use the selected program to open this kind of file check box.

Supported operating systems

Windows Server 2003/2008/2012, Windows 7, Windows 8, Linux, FreeBSD, NetBSD, OpenBSD, Mac OS X, iOS, Android

Rate this page

5 / 5 based on 15 user ratings.