Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I want to know that
string s; char c; s = s+c;
the following code can append a chracater to a string in standard c++ compiler? If no, then what should i do?
Yes, this would work. You can try for yourself to be convinced.