tryCString res = str.SpanIncluding( "0123456789" );
解决方案 »
- 关于对注册表的操作问题
- 我在获取新浪accesstoken之后不能调用发送微波接口
- hdc = CreateDC("DISPLAY", NULL, NULL, NULL); 的hdc 用释放吗?如何释放?
- activex参数问题
- 怎么在判断一个注册表项是否存在?
- vc++ mysql+php,c出现乱码
- 有没有人学《windows核心编程》?第一个头文件Cmnhdr.h就编译不过,急死了
- 如何把一字符串用二进制的方式显示出来。
- http://expert.csdn.net/Expert/topic/1180/1180423.xml?temp=.7148706
- 成都倍斯特保险代理有限公司 招聘
- 学习vc的困惑!!望诸位高手指点一二。
- 输入一段字符串,如果该字符串已在某一文件中,则执行某一特定的操
int nPos= str.Find("[");
int nValue = atoi(str.Mid(nPos+1));
str1 = str.Left (str.Find("["));
CString str2 = str.Mid(str.Find("[")+1);
CString str3;
str3 = str2.Left(str2.Find("]"));
AfxMessageBox(str3);
int num = atoi(str3) ;