struct word
{
char Chinese[20];
char English[20];
};
private:
vectorm_dictionary;
//从文件读入数据到m_dictionary
//遍历容器,如果中文成员匹配,结果设为对应元素的英文成员
//读入英文的句子要按空格进行分割成多个单词
//读入英文句子的方法如下
CString Eng;
this->GetDlgItem(IDC_EDIT1)->GetWindowText(Eng);
//将中文输出方法如下:
this->GetDlgItem(IDC_EDIT2)->SetWindowText(Chi);