Beginner's use of system("pause");
As long as I've been around here, I've seen lots of beginners use
statements to have their toy console apps to rest before they exit.
Yes, of course they need some way of doing some kind of "Press any key to continue..." when running their program from an IDE, but is it really required to employ an entire command shell for that trivial task? There are really more efficient ways of doing that.
The reason why I have started a thread about that marginal topic at all is: This way of doing that is so common that I started to ask myself whether there might be some common source that teaches them to do so.
Ok, maybe I'm only nit-picking because I have started learing programming at a time when every CPU clock tick and memory byte was precious, but the notoriousness of that habit just made me curious...
I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.
This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.