C++寬字符與普通字符的轉換實例詳解 把字符串轉換成寬字符串, 實例代碼: wstring string2Wstring(string sToMatch) { #ifdef _A_WIN
QString str;LPXXWSRE wStr = str.toStdString().c_str();