반응형 char* to string1 [개발/C++] 형 변환 char* to string or string to char* 형 변환 char* to string string temp_file; char szPath[256] = "C:\\Projects"; temp_file = string(szPath); temp_file += string ("\\file.tmp"); string to char* string temp_file = "\\file.tmp"; char szPath[256] = "C:\\Projects"; strcat(szPath, temp_file.c_str()); 2012. 1. 3. 이전 1 다음 반응형