VC判断一个UNICODE字符串中字母、数字、汉字、其余字符的个数

void GetCharacterNumber(LPCTSTR szTxt,int &nChinese,int &nEnlish,int &nNumber,int &nOther)  { int nLen = WideCharToMultiByte(CP_ACP, 0, szTxt, -1, NULL, 0, NULL, FALSE); char *szTemp = new char[nLen];
相关文章
相关标签/搜索