String Length.

I was wondering how long a string variable is?


Thanks In Advance!!
Do you ask how to learn how many characters in string ?
Or do you ask what's size of string ?

Is it C string , or C++ string ?
C++, and I was wondering how many characters a string variable could hold.
max_size() ; function returns maximum size of string
http://www.cplusplus.com/reference/string/string/max_size/
Topic archived. No new replies allowed.