Originally Posted by 7stud
All languages evolve--including C++. Without conventions, programs you wrote would never be able to execute on anyone elses computer, and probably not even on your own, unless the person who wrote your C++ book also wrote the compiler software.
Well, you are wrong, your teachers have been ignorant, and the author's of your books were incorrect. You can stick with being wrong, or you can learn the correct way to do something. No one really cares if you insist on doing things incorrectly yourself, but when you advise beginners to adopt bad practices, then you should expect to be corrected.
Your more egregious transgression, however, is that you posted a solution to what was clearly someone's homework--it violates the cboard homework policy, and it's not fair to those students who do their own work. In addition, a person learns more by coming up with the solution on their own.