0
<cstring> or<string>, C++?
What is difference between <cstring> and <string>, C++?
2 Antworten
+ 1
The <cstring> is a header for dealing with C-style Strings.
A C-style string is an array of characters that uses a null terminator. A null terminator is a special character ('\0', ascii code 0) used to indicate the end of the string.
Whereas <string> is a header for standard String operators and functions
+ 1
Thanks you