CString stext=_T("我,爱,你");
wchar_t str[100];
wcscpy(str,CT2CW(stext)); //非 unicode编码下 wcscpy(wszWideString, CA2CW(sText));
wchar_t *SEPS=L",";
wchar_t *token;
token=wcstok( str,SEPS);
while(token!=NULL)
{
TRACE(token);
token=wcstok(NULL,SEPS);
}
阅读(1852) | 评论(0) | 转发(0) |