Quote Originally Posted by STLDude
Just an observation, but I'm always surprise to see code from students learning programming (specially C++) to use char/char[] rather then std::string. Why do professors still teach that in Universities?

Last question was more rhetorical one.
I can tell you why. Usually, the academic programming courses are about C, and OOP courses teach Java. When one starts using C++, nobody teaches him about the STL and the containers, so he goes on using null-terminated char arrays and pointers to arrays.