登录
首页 » 算法 » 把CString格式转化为Char

把CString格式转化为Char

于 2023-04-25 发布 文件大小:925.47 kB
0 125
下载积分: 2 下载次数: 1

代码说明:

void CRSLAIDoc::CString2Char(CString TempCString,char ch[]) { int i; char *tmpch; int wLen=WideCharToMultiByte(CP_OEMCP,0,TempCString,-1,NULL,0,NULL,NULL); tmpch=new char[wLen+1]; WideCharToMultiByte(CP_OEMCP,0,TempCString,-1,tmpch,wLen,NULL,NULL); for(i=0;tmpch[i]!="";i++) ch[i]=tmpch[i]; ch[i]=""; 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 科学工程C源程序范例解,里面不止给出了程序,,还有很多的相关知识的说明,很有用。...
    科学工程C源程序范例解,里面不止给出了程序,算法,还有很多的相关知识的说明,很有用。-scientific engineering C source model solution is not inside the process, algorithm, there is a lot of knowledge related to the note, very useful.
    2022-06-02 15:19:05下载
    积分:1
  • ant colony algorithm for TSP problem
    tsp问题的蚂蚁算法-ant colony algorithm for TSP problem
    2023-06-22 06:50:03下载
    积分:1
  • Kruskal的最小生成树解决分配问题(分配…
    用Kruskal算法构造最小生成树解决指派问题(assignment problem) 一家公司经理准备安排 名员工去完成 项任务,每人一项。由于各员工的特点不同,不同的员工去完成同一项任务时所获得的回报是不同的。如何分配工作方案可以使总回报最大? -Kruskal Algorithm used to solve assignment problem minimum spanning tree (assignment problem), a manager of the company prepare arrangements for employees to complete tasks, each one. As a result of the characteristics of different staff, different staff to accomplish the same mission when the return is different. How to allocate the work program can make the greatest total return?
    2022-03-18 14:16:52下载
    积分:1
  • 行人检测采用svm
    行人检测采用svm算法,采用C++语言实现,可以直接编译,算法在移动的车辆上检测可以达到80%以上的检测率,
    2022-03-24 22:00:51下载
    积分:1
  • 自己的学习GTK+的时候写的程序。
    自己学gtk+的时候写的程序。- Own study gtk+ time writes procedure.
    2022-04-14 15:58:37下载
    积分:1
  • morphology gray values and the values achieved two code
    形态学灰值和二值的实现代码-morphology gray values and the values achieved two code
    2023-06-17 02:10:04下载
    积分:1
  • 关于约束非线性规划的求解器,可用于学习和实际问题求解。
    关于约束非线性规划的求解器,可用于学习和实际问题求解。-On the binding of non-linear programming solver can be used for learning and practical problem solving.
    2022-03-24 20:16:01下载
    积分:1
  • qt 调用类
    应用背景   在qt环境下,先写了类,类中包含构建函数和减法函数。然后再写另一个主函数,来调用    这个类中的函数,如果调用成功,就会返回调用成功结果。                                                                                                                                                                                                                                                            
    2023-08-18 10:20:03下载
    积分:1
  • tacticians of the commonly used algorithms
    运筹学中常用到的算法-tacticians of the commonly used algorithms
    2022-08-06 05:43:23下载
    积分:1
  • 对选择的图片进行傅立叶变换,并且显示出处理后的图片。
    对选择的图片进行傅立叶变换,并且显示出处理后的图片。-Select the picture on the Fourier transform.
    2022-09-30 23:00:04下载
    积分:1
  • 696516资源总数
  • 106918会员总数
  • 4今日下载