프로그래밍언어/C++

<c++>Char to String

컴퓨터과학 2019. 10. 11. 00:11
vector <char> cstr;
string answer;
cstr.push_back('a');
answer.push_back(sc[0]);