Yes, that seems to be pretty common reaction. I just don't understand why book authors and class teachers keep teaching C++ that way if it's a bad idea. Very few people have said that it's a good idea to start out in C++ this way.
Aren't all programs just algorithms? I get the feeling that only some specific kind of programs that solve a common type of problem are referred to as algorithms. They usually would have a fancy name too, like bubble sort, linear search, binary search, etc.
So the kind of algorithms that you're referring to here are the ones that are already implemented in C++ standard library, that are ready and waiting to be used? I know I had to implement binary search recently in my program. I read a bit about it, looked at some pseudo code and managed to get it working. But then I came across articles discussing how to use binary search from the library. This is the kind of algorithms you're referring to here, right?
I don't think I'm ready for this just yet. But I will be exploring it soon enough. The text book I have right now ain't much. It's like a tour more than anything, and it's very thin. It's less than 300 pages, and a lot of that has gone to pictures, illustrations, and some code examples. But I have purchased the PPP book by Bjarne. I can't wait to sink into it. I will read it page by page and not skip anything. I hope to finish it by the next October. I think it will take me that long. I don't expect programming to be easy, and especially not with C++. But I am a patient person.
I can barely handle one function! If I had as many functions as I have arguments and they were all like nested and everything, my head would explode! The former sounds easier. Besides, that sounds a lot like the way command line tools work where some of them will do stuff even if you don't specify any arguments (options or flags). They just assume some defaults. Is that how this works too?