摘要: 1 //要先在工程里面设置一下使用MFC作为共享的dll 2 #include 3 #include 4 #include 5 using namespace std; 6 int main() 7 { 8 CString str; 9 string ss;10 cin>>ss;11 str=ss.c_str();//string转CString!!!!!!!!!!!!!!!!!!!!!!!!!!!!112 CString str1=str,str6;13 string str2=str1.Left(4);//从左边1开始获取前4个字符1... 阅读全文
posted @ 2014-03-25 18:10 月月至秦 阅读(177) 评论(0) 推荐(0) 编辑