Chapter 3 erratap66-print, p106-pdf Remove the period from the end of the following line in the tip: Type VariableName;. p79-print, p119-pdf The line after the second code snippet is incorrectly formatted as all monospace and therefore looks to be part of the code snippet, when it is actually part of the text: The object pointed to by Book1 is the referent of the reference Book2. It should be: The object pointed to by Book1 is the referent of the reference Book2. p84-print, p124-pdf Both X's in the following single line code snippet should be italic, as referenced in the paragraph, not just the second X: Application->CreateForm(__classid(TFormX), &FormX); p85-print, p125-pdf Remove the following three lines at the end of the code snippet in the centre of the page: TFormX(this); FormX->ShowModal(); delete FormX; p87-print, p127-pdf Remove the lines in the code snippet containing the single letter 'P' and the single letter 'R':
// The next two declarations are the same: const int* const P = &Y; // Neither P, nor what it points to, P int const* const P = &Y; // i.e. Y can be changed through P // The next two declarations are the same: const int& R = Y // The int referred to by R, i.e. R int const& R = Y // Y cannot be changed through R p88-print, p128-pdf The second line contains an incorrectly spelt programming keyword. Change cosnt to const. p92-print, p132-pdf In the third paragraph the monospace function name std::set_terminate() should not be split onto two lines. p96-print, p136-pdf The first occurance of set_new_handler in the second last paragraph is not all monospace and is missing the parentheses. It should be set_new_handler(). In the same paragraph the '0' in NULL (0) should be monospace. p98-print, p138-pdf In the second/third last paragraph near the bottom of the page, the realloc() function name should not be split onto two lines as re-alloc(). |