bconnor
string s = "we";
string s2 = "I";
s.replace( 0, s2.length(), s2 );
cout << s << endl;
There isnt a simple way to do something like this in C, is there?
string s2 = "I";
s.replace( 0, s2.length(), s2 );
cout << s << endl;
There isnt a simple way to do something like this in C, is there?