프로그래밍언어/C++

<c++> string to char

컴퓨터과학 2019. 10. 11. 00:09
string s ="Hello";
char cstr; 
copy(s.begin(),s.end(),cstr);