C ++ expand on the basis of C

1. Definition of variables can appear in any line of the program.

2. Providing standard input and output stream object.

3. defined constant Const.

4. The function overloading, the function template, with default values ​​of the function.

The reference type.

6. scope unary operator.

7.string type string.

8. Instead of using new and delete functions like malloc and free.

Guess you like

Origin www.cnblogs.com/ScarecrowMark/p/11234353.html