블로그는 나의 힘!
[ Programing ]/STL & Booster2013. 11. 14. 09:07
std::wstring s2ws (const std::string& s)  
{  
std::wstring ws;  
ws.assign (s.begin (), s.end ());  
return ws;  
}  
  
std::string ws2s (const std::wstring& ws)  
{  
std::string s;  
s.assign (ws.begin (), ws.end ());  
return s;  
}   

 

 

 

Posted by Mister_Q