CPP File Documentation


Overview

Feature Value
File Extension .cpp
Full Name C++ Source Code File
MIME Type text/x-c
Primary Association C++ Programming Language
Format Type Text
Encoding ASCII or Unicode
Developed by Bjarne Stroustrup
First Introduced 1983
Used For Writing source code for programs and applications
Object-Oriented Yes
Supports Generic Programming Yes
Supports Polymorphism Yes
Supports Inheritance Yes
File Operation Read, Write, Compile
Compiler Required Yes
Common Editors Visual Studio, Code::Blocks, Eclipse CPP
Comment Syntax // for single line, /* */ for multi-line
File Comparison Can be compared using diff tools
Executable Generation Yes, after compilation
Standard ISO/IEC 14882
Latest Version C++20