string copy in cpp
//use '=' to copy string
string s1={"Hello"};
string s2;
s2=s1; //now s2 will have a copu s1
Are there any code examples left?
New code examples in category C++
//use '=' to copy string
string s1={"Hello"};
string s2;
s2=s1; //now s2 will have a copu s1