1. The string of C++
If you want to use string in c++, you’d better include the .h file
You can create a string instance like
1 |
String str1="str"; |
You can copy an instance using =
1 |
str2=str1; |
You can concat two instance using +
1 |
String str3=str1+str2; |
近期评论