August 2012
Intermediate to advanced
976 pages
30h 17m
English
stringsIn addition to the constructors we covered in § 3.2.1 (p. 84) and to the constructors that string shares with the other sequential containers (Tables 9.3 (p. 335)) the string type supports three more constructors that are described in Table 9.11.
Table 9.11. Additional Ways to Construct strings
The constructors that take a string or a const char* take additional (optional) arguments that let us specify how many characters to copy. When we pass a string, we can also specify the index of where to start the ...
Read now
Unlock full access