Going through the book, its feels like I hit mistakes in a few sections. (For a book of such length, it seems normal that glitches and errors would find their way in.)
The only errata I found was on InformIT, but its last modification is dated from 9 October 2012, less than 2 months after the book's release (and almost three years ago).
Is someone aware of an official or unofficial errata, that would have been maintained since the book's release?
This is not exactly your answer but I would suggest you to take a look at the "jaege" and "adobrich" repositories on the Github. There are solutions to exercises for every chapter and perhaps you could find your answer by looking at the solutions. "Jaege" has covered all the chapters but "adobrich" reached the chapter 6. I Hope it helps.
Solutions to Exercises in C++ Primer 5th Edition by jaege
Solutions to C++ Primer 5th Edition by adobrich
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With