这本书有很多typos,让人抓狂!!!!!!!!下面好像是官方的勘误表,好久没更新了,只纠正了部分错误http://ptgmedia.pearsoncmg.com/images/9780201721485/Errata/Lippman_0201721481_Errata.html这个是某网友找到的错误http://wwliu.is-programmer.com/posts/22784希望大家能把自己找到的错误都列出来...
On page 365, the second line of the first paragraph, map<string,int>::value_type(anna,1) , should be map<string,int>::value_type("Anna",1)
On page 361, in the section of 10.3.2 Types Defined by map, a period mark is missing at the end of the first sentence.
On page 353, in the section of DEFINED TERMS, the "ff" in the last line of the description of "begin" should be "if".
我先抛砖引玉哈 On page 324, in table 9.8, there is a typo with the description of c.resize(n). “ If N < c.size(), the excess elements are discarded.” should be changed into “ If n< c.size(), the excess elements are discarded.”