Are there any lines in C ++?

I am learning C ++ with some books from school, which are from 80, and I'm not sure if they are C ++ strings or just very long char arrays. Can anyone help?

+3
source share
5 answers

In C ++, there is a string class .

+17
source

Check out the standard library.

In STL, you can find the std :: string class, as well as a bunch of other useful classes.

Basic documentation can be found here:

http://www.sgi.com/tech/stl/

String documentation can be found here:

http://www.sgi.com/tech/stl/basic_string.html

stl , ; , , , . stl (, , , , , , , ).

, , - STL:

STL

+11

, ++ , - . , , , ++ ( ). char, , , , char , .

!

+6

++ std::string, @mmr.

, // ( ) .

, ++, , .

, . , .., UTF-8 ..

, - , .

+2

++; char array - .

, , , .

0
source

Source: https://habr.com/ru/post/1702398/


All Articles