C++ Pocket Reference by Kyle Loudon The following corrections were made to the 10/03 reprint: Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem {13} WAS: To use the wchar_t type and related facilities, NOW READS: To use facilities related to the wchar_t type, (21) In the last sentence under "Passing arrays to functions," two instances of "int" NOW CHANGED to "double" in both places that it appears. (26) bottom; the declaration - X objptr = new X; NOW READS: X *objptr = new X; (33) Reserved Words; "end_eq" NOW READS: "and_eq" [40] Logical NOT; The result of the logical NOT operator is an int. NOW READS: The result of the logical NOT operator is a bool. {40} Under "Bitwise NOT,": This assigns 0xFF back into bits. NOW READS: This assigns 0xFF back into bits, assuming a character is eight bits. (42) middle; the declaration - X objptr = new X; NOW READS: X *objptr = new X; [43] Under "Relational," the last sentence NOW READS: The result of using a relational operator is a bool. [43] Under "Relational," "yielding 1" HAS BEEN CHANGED to "yielding true" while "and 0" HAS BEEN CHANGED to "and false." ***Reported as page 44, is actually on page 41**** [44] Under "Logical NOT," the last sentence NOW READS: The result of the logical NOT operator is a bool. ***Reported as page 44, is actually on page 40*** [44] Under "Logical NOT," "yields 0" HAS BEEN CHANGED to "yields false" while "and 1" HAS BEEN CHANGED to "and true." [44] Under "Logical AND and OR," all occurrences of "yields 1" HAVE BEEN CHANGED to "yields true" and all occurrences of "yields 0" HAVE BEEN CHANGED to "yields false." (43) Relational section; heading "<, <=>, >=, ==, !=" NOW READS: "<, <=, >, >=, ==, !=" {48} Under "File Scope," the second sentence HAS BEEN CHANGED to the following: A name with file scope can be used anywhere within a file after the point where the name is declared. [56] Under "register," the following sentence: The address-of operator (&) cannot be used with register variables. HAS BEEN DELETED. {93} In the second bullet item, the following HAS BEEN CHANGED before the period: "in the base class and you plan to instantiate the derived class" {120} Change the fourth bullet item HAS BEEN CHANGED to read as follows: If a virtual member function has an exception specification (see "Virtual Member Functions"), the member function of a derived class that overrides the function must have an exception specification that is either the same or more limited than the one in the base class.