Char Array

Pages: 123
Mar 13, 2013 at 12:17am
I believe my point is the best. Std::string provides two methods that give you the internal char array. On top of the plethora of other methods. As DTSCode pointed out, they are at least the same. Which implies std::string CAN'T be worse. But since it provides methods and functionality that a C string does not, on top of whatever benefit a C string might have, std::string is far superior.
Mar 13, 2013 at 5:36am
closed account (Dy7SLyTq)
ok fine std::string's are better.
Topic archived. No new replies allowed.
Pages: 123