STL 에서 유니코드 사용하는 방법.
Moderator: 류광
-
- Posts: 94
- Joined: 2001-12-01 09:00
STL 에서 유니코드 사용하는 방법.
STL의 string을 유니코드 스트링으로 바꾸고 싶은데 어떻게 해야 할지 모르겠네요.. 어떻게 하면 될까요????
-
- Posts: 111
- Joined: 2002-03-12 09:00
유니코드로 바꾸실라믄요
Code: Select all
#pragma warning(disable:4786)
#include <string>
using namespace std;
#ifdef _UNICODE
typedef basic_string<wchar_t> tstring;
#else
typedef basic_string<char> tstring;
#endif
tstring g_szTEMP;
...Another one bites the Dust~!...