c/c++

c++ string 에서 c의 char 배열로 변환

Нуеоп 2012. 7. 5. 16:45

string str = "hello world";

const char * cstr = str.c_str();