C ++ primer's third edition has not been completed yet (it seems to be abandoned halfway-_-#), and the fourth edition will be available. Continue (ms vc ++ 2005 Express is used in the development environment ).
The fourth edition focuses more on STL explanation. The English version is fresh, concise, and very good. There are many "Beware" and "note" in the book to give you some reminders.
-----------------
[1.2] beware: developers often insert print statements during debugging (to print the values of certain variables or locate wrong statement blocks ). These statements should always be [flush the stream] (STD: Endl can be used for flush), otherwiseProgramWhen the program crashes, some outputs are left in the buffer, which may cause the developer to make an incorrect judgment on the specific location of the program crash.
Ex 1.2: The program "[2040] c00000000primer.exe: Local" has exited and the returned value is-1 (0 xffffffff ).
Ex 1.8 STD: cout <"/*"; no problem. STD: cout <"*/"; no problem. STD: cout </* "*/" */; there is a problem (the last one is missing "). <Followed by "plays a key role.
[1.4] input end-of-file from: Ctrl + z (WIN), control-D (Unix or Mac OS) on the keyboard)
Ex 1.26 not clear