string s ="Hello";
char cstr; 
copy(s.begin(),s.end(),cstr);

 

'프로그래밍언어 > C++' 카테고리의 다른 글

int to string and string to int  (0) 2020.02.18
<c++>Char to String  (0) 2019.10.11
STL Functional 사용법?  (0) 2019.09.30
마우스 클릭  (0) 2019.09.27
마우스 좌표값 얻어오기  (0) 2019.09.27

+ Recent posts