.CPP 文件扩展名

C++ Source Code File

开发者 ISO C++ Standards Committee
受欢迎程度
4.2  |  240 
 
🔍使用File Helper直接在您的网络浏览器中打开 .CPP 文件在线查看

什么是 CPP 文件?

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 may be a standalone program containing all the code or one of many files referenced in a development project. CPP files must be compiled by a C++ compiler for the target platform before the code can be run.

更多信息

在 Microsoft Visual Studio Code 1.54 中打开的 .cpp 文件截图
在 Microsoft Visual Studio Code 1.54 中打开的 CPP 文件

C++ is one of the most popular programming languages, making CPP files very common among developers. It was created by Bjarne Stroustrup and was first released in 1985 to improve upon the C programming language.

It was initially standardized by the International Organization for Standardization (ISO) in 1998 and has since undergone many improvements. It is maintained by ISO/IEC JTC1 / SC22 / WG21, with the non-profit Standard C++ Foundation providing support for the C++ software developer community.

If you are a programmer, you most likely have worked with CPP files since C++ is used to develop many applications, such as games, web browsers, and database software. Some notable applications written entirely or partially in C++ include Microsoft Office, Adobe Photoshop, MYSQL, Google Chrome, Mozilla Firefox, and Autodesk Maya.

注: C++ source code may also be saved as .C, .CC, and .CXX files, or as .HPP, .H, .HH, or .HXX header files.

常见 .CPP 文件名

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

如何打开 CPP 文件

You can open and edit CPP files with various source code editors, including Microsoft Visual Studio Code (multiplatform), Code Blocks (multiplatform), and Apple Xcode (macOS). These applications provide syntax highlighting, auto-completion, and other helpful tools that assist you in viewing and editing C++ code.

You can also open and edit CPP files with a plain text editor, such as Microsoft Notepad (bundled with Windows) or Apple TextEdit (bundled with macOS). However, these text editors do not provide helpful source code editing features.

C++ compilers

You can compile the C++ code stored in CPP files to code run on a computer with various free and commercial compilers. Some compilers include Microsoft Visual Studio (Windows), Eclipse IDE for C Developers (multiplatform), GNU Compiler Collection (multiplatform), and Apple Xcode (macOS).

可打开 CPP 文件的程序

分类: 开发者
更新时间: 2021-12-29

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的 C++ Source Code 文件格式和 Mac, Windows, Linux, and Android 应用。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们