First page Back Continue Last page Graphics
STRING MEMBER FUNCTIONS
(cont.)
reserve( ) Reserves memory for a certain number of characters
[ ], at( ) Access a character
>>, getline( ) Read the value from a stream
<< Writes the value to a stream
copy( ) Copies or writes the contents to a C-string
c_str( ) Returns the value as C-string