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

把CString格式转化为Char

于 2023-04-25 发布 文件大小:925.47 kB
0 109
下载积分: 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 个回复

  • FFT的程序
    可运算的FFT算法。加载到程序里面后可以正常运行。程序稳定,抑制能力强大。里面包含了四种FFT算法可供选择使用。实验效果显著,程序可用。
    2022-01-27 18:03:57下载
    积分:1
  • 最新的Eigen-3.07库,
    资源描述PCL必备的支持库之一,最强大矩阵计算开源库
    2022-11-08 02:50:03下载
    积分:1
  • In this note we make a critical comparison of some matlab programs for the digit...
    详细表述了分数阶傅立叶变换的离散实现,将现有的算法进行比较。-In this note we make a critical comparison of some matlab programs for the digital computation of the fractional Fourier transform that are freely available and we describe our own implementation that lters the best out of the existing ones. Two types of transforms are considered: First the fast approximate fractional Fourier transform algorithm for which two algorithms are available. The method is described in H.M. Ozaktas, M.A. Kutay, and G. Bozdagi. Digital computation of the fractional Fourier transform. IEEE Trans. Signal Process., 44:2141{2150, 1996. There are two implementations: one is written by A.M. Kutay the other is part of package written by J. O Neill. Secondly the discrete fractional Fourier transform algorithm described in the master thesis C . Candan. The discrete fractional Fourier transform, Bilkent Univ., 1998 and an algorithm described by S.C. Pei, M.H. Yeh, and C.C Tseng: Digital fractional Fourier transform base
    2022-02-09 21:16:41下载
    积分:1
  • huffman编码
    对一个文本里的字符进行哈弗曼编码,通过对文本的读取,统计文本里各个字符出现的频数,确定哈弗曼编码,然后将编码在新文本中输出。可进行文本的翻译。
    2022-06-13 03:08:13下载
    积分:1
  • 设计 约瑟夫循环问题
    计算机算法设计代码 约瑟夫循环 用VC编译 可在计算机上执行 代码旁附有我的注释
    2022-06-02 05:22:34下载
    积分:1
  • 求有关温度计的源程序
    求有关温度计算的源程序-for calculating the temperature of the source
    2022-06-01 10:00:51下载
    积分:1
  • 仿生模式识别 目标跟踪
    用仿生模式识别来训练目标,在视频序列中跟踪目标 function [sausage, num] = hypersausage_construct(P) %按照样本给定的顺序去求解超香肠神经元 [~, W] = size(P);%W是训练样例的个数 sausage = []; for i = 2:W     temp = power_two(P(:, i - 1), P(:, i));%构建第i-1个神经元  //temp是一个行向量     %temp = power_three(P(:, i - 2), P(:, i-1),P(:,i));     sausage = [sausage temp]; end sausage = [sausage P(:, end)]; num = (size(sausage, 2) - 1) / (W - 1);
    2023-08-13 14:40:03下载
    积分:1
  • 石子合并问题C++
    在一个圆形操场的四周摆放N堆石子(N≤100),现要将石子有次序地合并成一堆。规定每次只能选相邻的两堆合并成新的一堆,并将新的一堆的石子数,记为该次合并的得分。编一程序,读入堆数N及每堆石子数(≤100)选择一种合并石子的方案,分别得到合并这N堆石子为一堆,可以得到的最大得分和最小得分
    2022-10-12 06:40:03下载
    积分:1
  • 自己编的一个教师课程匹配程序,实现对教师新学期任课的指派。...
    自己编的一个教师课程匹配程序,实现对教师新学期任课的指派。-their series matching a teacher training program, realized the new semester of teachers assigned to the classroom.
    2022-02-07 01:40:14下载
    积分:1
  • 图像增强
    资源描述实现频域内的图像增强,采用傅里叶变换方法
    2022-02-15 07:49:26下载
    积分:1
  • 696518资源总数
  • 106242会员总数
  • 10今日下载