#What file is the suffix cpp?
The suffix cpp is the C source file.
The cpp file itself cannot be run. What is actually run is the exe program generated by compiling the cpp code.
Specific steps:
1. Create a project from this cpp file, or create a project and add this cpp file
2. Compile
3 , If there are no errors in compilation, you can run it
Expand knowledge:
C is the inheritance of C language. It can perform procedural programming of C language. You can also carry out object-based programming characterized by abstract data types, and you can also carry out object-oriented programming characterized by inheritance and polymorphism.
For more related knowledge, please visit PHP Chinese website! !
The above is the detailed content of What file is the suffix cpp?. For more information, please follow other related articles on the PHP Chinese website!