I learned today.
0 Page ~30 page.
1. Compiler Error Type syntax error (syntax error) type errors (type error) Declaration error (Declaration error) .
2. the definition of a class is usually written in a header file .
3. CIN cout Cerr Clog are objects of the iostream type.
4. Cerr ( standard error, used to output warnings and error messages) , the data written to Cerr is not buffered by default.
5. Clog ( used to output the general information of the program runtime, stored in a log file), by default, the data written to clog is buffered.
6. Endl as a manipulator, write Endl marks the end of the current line and brushes the contents of the buffer to the device. That is, all output is no longer stuck in memory just waiting to be written to the stream, and all is actually written to the output stream.
7. Python checks the data type while the program is running. C + + is a statically typed language that examines data types at compile time.
8. An array of underlying data structures that are common to C + + and many programming languages.
We're going to learn tomorrow.
31 Page ~118 page.
The 2nd Chapter variables and basic types.
The 3rd chapter is the string, vector and array.
C + + Primer 1th Chapter