16,471
社区成员
发帖
与我相关
我的任务
分享
std::vector<std::string> testVList;
CString str;
str = "This is a Test";
testVList.push_back(str.GetBuffer(0));
std::vector<std::string>::iterator it = testVList.begin();
std::string res = *it;
AfxMessageBox(res.c_str());