用system("pause>nul") 就可以了
wchar_t*,wchar_t,wchat_t数组,char,char*,char数组,std::string,std::wstring,CString...---------------------------------
// 将单字符 string 转换为宽字符 wstring
inline void Ascii2WideString( const std...::string& szStr, std::wstring& wszStr )
{
int nLength = MultiByteToWideChar( CP_ACP, 0, szStr.c_str()...= 'A';
char tagChar[100] = {NULL};
CString cStr;
std::string str;
// 注:设置语言环境以便输出WideChar
setlocale...*
pChar = const_castchar*>(str.c_str());
cout << pChar << endl;
// 注:char* 转换 string
str = std::string