Just another C vs C+ vs C++ debate
Mod's note: split from here: http://cboard.cprogramming.com/showt...872#post824872
Then you need more experience with C++, clearly. C++ isn't a "shallow" C. It supports much more high-level and less mind-boggling ways to do things.
And don't talk about overhead in containers. Did you try them? Sometimes, they are even better than your "homebrew" solution.
In fact, C++ will get a number of more features in the coming standard that can make it faster than C in some circumstances.
Furthermore, your insistence of "C" makes you a bad modern programmer, since the point of C++ is to use pre-defined, existing solutions to quickly achieve your goal with less time spent debugging and thinking. And it's also safer.
Furthermore, since the book is supposed to teach C++, it's a bad book, because it does not teach C++, it teaches "C+".