登录
首页 » Windows开发 » 函数 long StrToData(CString strData,int jz) 功能:字符串转为正整数值 [字符串可为2...

函数 long StrToData(CString strData,int jz) 功能:字符串转为正整数值 [字符串可为2...

于 2022-01-21 发布 文件大小:12.73 kB
0 154
下载积分: 2 下载次数: 1

代码说明:

函数 long StrToData(CString strData,int jz) 功能:字符串转为正整数值 [字符串可为2-16]任意进制数值字符串 返回:长整型数值 参数:strData 为将要转换的字符串 参数:jz 为字符串的进制 如: CString s s="FFA6" long data=StrToData(s,16) 则:data的值为:65446 用法:将StrToData.h和StrToData.cpp复制加入到您的工程里,在需要调用的函数中      加入#include "StrToData.h"即可调用-function of long StrToData(CString strData,int jz) :changed character string to positive integer,changed character may be any decimal system,return:long Integer value,parameter:strData is the character string to be changed,jz is type of decimal system.

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

发表评论

0 个回复

  • 非常好的 CD 播放机
    创意 CD-是优秀的伟大的工作,很大看着,重量轻,有吸引力,可更换皮肤的 CD 音频播放器为微软 WINDOWS XP 和后来......IT 工程伟大在 WINDOWS VISTA 中,WINDOWS 7,WINDOWS 8 和 WINDOWS 8.1 x 32 位和 x64 位操作系统......还有一个版本为 WINDOWS 2000 上那些仍然使用的是 WINDOWS 2000 的下载页面。它还将工作在 WINDOWS SERVER 2003。WINDOWS SERVER 2008 和 WINDOWS SERVER 2012...... 它包含以下功能: -基本的 CD 播放机功能 (播放,停止,暂停。启受助弹出,等......) -皮肤支持 (改变大小和位置的所有控件,主窗口大小和位置的标题栏......) -位图字体,位图按钮鼠标效果,位图滚动条与鼠标的效果,与先进的列表框,工具提示...... -一个很酷的动画框...(七个动画可供选择)看看菜单上或在选项对话框中)... -转闪屏打开或关闭通过选项 -转欢迎声音打开或关闭通过选项 (或简单地禁用初始屏幕) -音量控制 (CD 卷,主音量,静音) -播放列表窗口 (添加、 编辑、 删除、 订购的歌) -重复光盘 (播放列表)、 介绍戏剧 (随机启动)、 随机播放模式 -重复音频轨道 -多个 CD-ROM 支持 (测试),超温 (测试) -兼容 Windows 光盘数据库标准 * 将您的 cdplayer.ini 复制到创意 CD 工作目录 -设置为默认 CD 播放机和更多的探索......
    2022-05-22 03:35:14下载
    积分:1
  • this is a football lottery screening example, to be more accurate screening many...
    这是一个对足球彩票进行筛选的例子,能够较为准确的筛选很多无效号码.由于时间和本人水平尚未最终完成.但也可以用.-this is a football lottery screening example, to be more accurate screening many invalid numbers. Because of the time and I have yet to finalize standards. It can also be used.
    2022-05-26 00:48:51下载
    积分:1
  • wouhou it s a cool picture
    wouhou it s a cool picture
    2022-02-22 10:21:03下载
    积分:1
  • 一个迷宫程序,可以自动解答迷宫,并且可以自己玩
    一个迷宫程序,可以自动解答迷宫,并且可以自己玩-A maze procedure, you can automatically answer the maze, and can play their own
    2022-07-18 17:01:03下载
    积分:1
  • wsaselectgsgsggsgsgsgsg
    加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站
    2022-09-19 09:05:02下载
    积分:1
  • 利用递归实现将当前目录下文件(包含文件夹下子目录)复制到指定目录下...
    利用递归实现将当前目录下文件(包含文件夹下子目录)复制到指定目录下-with recursion to realize copy files to another directory which is assigned by you
    2022-02-13 22:35:01下载
    积分:1
  • 用VC编写正轴等角割圆锥投影源程序的设计.还不尽完美!欢迎下载指导!...
    用VC编写正轴等角割圆锥投影源程序的设计.还不尽完美!欢迎下载指导!-There a positive axes equal angle conic projection program.It is not very perfect.Welcome to download and instruct .
    2022-08-05 22:34:59下载
    积分:1
  • 修改Button的drawitem函数 改变Button的背景色前景色,美化按钮
    修改Button的drawitem函数 改变Button的背景色前景色,美化按钮-Button" s drawitem function changes the background color to change Button foreground color, landscaping button
    2022-08-11 13:52:15下载
    积分:1
  • 这个小程序可以帮助你知道自己机器上安装的是什么处理器,以及总的物理内存数和可用物理内存数,也可以知道分页(可用)文件空间和总的虚拟内存数!希望对大家的学习会有所...
    这个小程序可以帮助你知道自己机器上安装的是什么处理器,以及总的物理内存数和可用物理内存数,也可以知道分页(可用)文件空间和总的虚拟内存数!希望对大家的学习会有所帮助,也会使你对vc的理解更加的深入一些!-This little program can help you know the machine is installed on what processor and the total number of physical memory and the number of available physical memory can also be aware of page (available) file space and the total number of virtual memory! Hope everyone will be helpful to learn, but also make you more understanding on the vc some depth!
    2022-01-26 06:32:32下载
    积分:1
  • 片上网络 容错路由算法源代码
    片上网络 容错路由算法源代码-Noc
    2022-03-25 23:24:05下载
    积分:1
  • 696518资源总数
  • 106259会员总数
  • 28今日下载