0

How to use string?... what's the use of it??

--sorry im a beginner.

25th Aug 2016, 8:11 AM
Cloud
Cloud - avatar
1 Resposta
+ 3
What's te use of it: Strings are character sequences and therefore hold text. You can iterate over the text, count, append, insert, replace parts of the text. A lot of things are strings: user names, passwords, customer addresses, every text you see on a console or in a GUI etc. How to use strings: the string class (that's C++ strings) has many functions that cannot sufficiently introduced in a forum post. Still, there are other resources that describe the functions on the string class, as http://en.cppreference.com/w/cpp/string/basic_string (don't be confused by the amount of information, the list of available functions starts a bit further down).
25th Aug 2016, 10:09 AM
Stefan
Stefan - avatar