C++ is a statically typed, compiled, general-purpose, case-sensitive, irregular programming language that supports procedural programming, object-oriented programming and generic programming.

C++ is considered a mid-level language that combines the features of high-level and low-level languages.

C++ was designed and developed by Bjarne Stroustrup in 1979 at Bell Laboratories in Murray Hill, New Jersey. C++ further extended and improved the C language, originally named C with classes and later renamed C++ in 1983.

C++ is a superset of C. In fact, any legal C program is a legal C++ program.

C++ comments syntax

Comments for a program are explanatory statements that you can include in your C++ code, which will improve the readability of the source code. All programming languages ??allow some form of comments.

C++ supports single-line comments and multi-line comments. All characters in comments are ignored by the C++ compiler.

C++ comments example

#include?<iostream>
using?namespace?std;?
int?main(){
???cout?<<?"Hello?World";?//?輸出?Hello?World
?
???return?0;}