摘要: 以前玩过C++,那是大一,大二的时候的事情了,一转眼,现在是大四了。由于想找工作,不得不重新学一下VC,于是拿了孙皓老师的Vc++范例大全,学到了CString这节,然后运行实例,发现了一个小小的临界值错误。void CSearchReplaceDlg::OnSearch(){// TODO: 在此添加控件通知处理程序代UpdateData(true);if(m_strFind.IsEmpty()){AfxMessageBox(L"查找的字符串为空");return;}int pos=0;CString strpos,temp;strpos.Format(L"%s 阅读全文
posted @ 2013-11-25 23:12 华四 阅读(196) 评论(0) 推荐(0) 编辑