百合文库
首页 > 网文

什么都没有(2)

2023-11-13 来源:百合文库
void CUnicodeDlg::OnTranslate()
{
// TODO: Add your control notification handler code here
UpdateData(true);
CString PP;
PP=m_chinesecharacters;
if(m_chinesecharacters.IsEmpty())
{
AfxMessageBox("请输入汉字!");
return;
}
int len=PP.GetLength();

什么都没有


int unicode; //十进制转化为十六进制进用到的中间值
const int MAX_FILE_LENGTH=500;
WCHAR UnicodeFile[MAX_FILE_LENGTH];
MultiByteToWideChar( CP_ACP, 0, PP,-1,UnicodeFile,MAX_FILE_LENGTH);
PP="";
CString midd,temp="";//中间值
for(int loop=0;loop<len/2;loop )

什么都没有


猜你喜欢