|
【软件简介】英文名: C++ Primer, Fourth Edition 中文名: C++ 入门(第四版) 作者: Stanley B. Lippman,Josée Lajoie 和 Barbara E. Moo 出版社: Addison Wesley Professional 出版时间:2005-2-14 总页数: 912
最好的 C++ 入门教材之一。我现在正在学习这本书,感觉写得真的很好!第一作者 Stanley B. Lippman 是最早从事 C++ 编译器编写的人员之一。不过这本书中存在不少排版错误,给人一种马虎了事的感觉。难道是因为电子版的缘故?排版错误我就不说了,不过非排版错误还是要说说的。目前我发现这本书在一个函数用法上说错了。请翻倒 8.2. Condition States,Table 8.2. IO Library Condition State 里面写着:s.clear(flag) Set specified condition state(s) in s to valid. Type of flag is strm::iostate. 这是错误的。clear 函数的作用应该是把流的状态(condition state)设置成 flag。看到 Accessing the Condition State 你就会明白为什么作者是错的,因为作者根本自相矛盾了。
I collected it from the Internet, of which the copyright is retained by the Original Author. If I have violated your copyright by any chance, please contact me, I'll delete it immediately.
|