- 1
Help me to know the use of <string> in c++
7 Respuestas
+ 4
"The std::string type is the main string datatype in standard C++ since 1998, but it was not always part of C++. From C, C++ inherited the convention of using null-terminated strings that are handled by a pointer to their first element, and a library of functions that manipulate such strings. [...] ¹"
______
¹ https://en.wikipedia.org/wiki/C%2B%2B_string_handling#Example_usage
+ 3
"I can't understand"
Really?! So read and practice this tutorial.
https://www.tutorialspoint.com/cplusplus/cpp_strings.htm
+ 3
"U are studying what"
I'm studying "the science of survival in the bush"!
+ 1
Which part of it exactly that you don't understand? have you tried practicing with string yet? I understand the course covers very little of it, but you need to narrow down the question scope to get effective response.
0
😅😅😅😅 I can't understand
0
Yea u are right 😅😅😅
0
U are studying what