CString strLeft = str.left(str.find(' ');
CString strRight = str.Mid(str.find(' ');
int iLeft = atoi(strLeft);
float fRight = atof(strRight);
CString strRight = str.Mid(str.find(' ');
int iLeft = atoi(strLeft);
float fRight = atof(strRight);
解决方案 »
- vs2010MFC下编写的winio读写I/O端口的程序,无法实现读写,怎么回事
- vc6.0 遍历XML文件
- OnCtlColor()不起作用
- 求一段长度的数组数据,按比例放大或者缩小的算法
- 求mimepp 1.3的src,谢谢
- 如何让驱动程序先与Explore进程加载啊,在开机启动时间
- 急!!!怎样在一个对话框中调出另一个对话框,并结束自己(基于对话框的程序中)?
- 有谁用VC或是VB做过flash播放器的,进来一下
- // If you use Visual C++, set the compile options to /GX,怎么设定?谢谢!
- 高手救命!!!在A机上如何验证B机的user_id是否属于某一domain?
- 请大家帮助我这个新手~~~
- vc打印问题
char× p;
p = str。GetBuffer(0);
sscanf(p, "%lf %d", &lf, &i);
str。ReleaseBuffer();