I'm new to C++ and bought this book as a way of getting to grips with a new language.
I really wanted to like the book, and I do think it contains a lot that's excellent but I'm really disappointed with the number of typos that have crept into the text.
I'm assuming it's "just" a case of poor proof reading. This is the first Wrox book I've bought. Someone please tell me that this standard of proof reading isn't typical.
I'm even more disappointed to find that the solutions to the end-of-chapter exercises are not exactly perfect, either. To see what I'm on about, take a look at the solution for Chapter 2, Exercise 7 (the one about the three rooms).
For a start, the solution contains completely the wrong dimensions for room 3 (they've re-used the dimensions for room 1). Also, unless I'm missing something, the safe_casts used to turn areas into integer values simply truncate the doubles, whereas the question asks for values rounded to the nearest whole number.