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

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

于 2022-01-21 发布 文件大小:12.73 kB
0 184
下载积分: 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 个回复

  • ice 通讯库的演示例子代码,学习ice的人可以很好了解下,ice和ace两个都是很好的网络程序工具库,方向架构不一样。...
    ice 通讯库的演示例子代码,学习ice开发的人可以很好了解下,ice和ace两个都是很好的网络程序开发工具库,方向架构不一样。-ice communication library code demo example, study the development of ice can be a very good understanding of people, ice and ace are both good network program development tool library, not the same as the direction of architecture.
    2022-07-25 04:06:27下载
    积分:1
  • WinXP风格类似Firefox按钮文本框1.1
    应用背景Windows XP  ;文本框样式类似Firefox按钮1.1版本文本框的风格类似Firefox按钮1.1, ;文本框样式类似Firefox按钮1.1, ;文本框样式类似Firefox按钮1.1, ;文本框样式类似Firefox按钮1.1, ;文本框样式类似Firefox按钮1.1, ;文本框样式类似Firefox按钮1.1,& nbsp;文本框样式类似Firefox按钮1.1, ;文本框样式类似Firefox按钮1.1, ;文本框样式类似Firefox按钮1.1, ;文本框样式类似Firefox按钮1.1, ;文本框样式类似Firefox按钮1.1关键技术一个文本框与XP风格+ Firefox明文和图标按钮。当控制焦点的时候,它改变了边框颜色。当您单击“关闭”按钮时,其清晰的文本。与arrowclick和iconclick事件,你可以做你所想的!有closeclick事件太。你可以在你的磁盘或其他控制的图标上更改图标,图像属性。有自选。如果你设置autotab =真实,当莱恩(。文本)=。maxlenght,控制了重点在接下来的控制作用。roundcorners财产。当你设定的时候,启用=假,文本和背景不改变颜色为灰色!closebutton,箭头图标提示有个人。如果。entergotonexttab =真的,当你按13键(回车),重点给出了在未来的控制作用。--------------------------------------------------新特点:* X按钮和图标有个人。可见,所以文本框可以有两个,其中只有一个,或者没有。*对齐,对齐,PasswordChar,BorderStyle属性。* colorback,colorarrow,ColorText,colorborder财产* onfocuscolortext,onfocusfont,focuscolorborder,onfocusborderstyle *修复一些错误*普通事件+ arrowclick,clearclick,iconclick,MouseEnter和MouseLeave *输入型(不,字母,数字,字母
    2022-06-14 16:26:32下载
    积分:1
  • Visual C++ 2005 programing example source code
    Visual C++ 2005编程实例精粹 源代码-Visual C++ 2005 programing example source code
    2022-03-23 09:27:23下载
    积分:1
  • VB网络数据库的一种查寻
    VB网络数据库的一种查寻-a network database search
    2022-12-08 14:05:03下载
    积分:1
  • 我对这个源码不熟悉 但是绝对能用 这是服务组件
    我对这个源码不熟悉 但是绝对能用 这是服务组件-asdasdqwdwqsd
    2022-04-21 20:18:45下载
    积分:1
  • VC++编程,有源代码,属性表页类,wizard97风格,大小可调
    VC++编程,有源代码,属性表页类,wizard97风格,大小可调-VC++ Programming, active code page attribute table category, wizard97 style, size adjustable
    2022-01-26 01:37:24下载
    积分:1
  • 简单的计算器,实现最基本的加法和减法、乘法…
    简单的计算器,实现了最基础的加减乘除和平方等数学运算的一个小程序-Simple calculator, to achieve the most basic addition and subtraction, multiplication and division and square, such as a small mathematical procedures
    2022-02-06 14:49:22下载
    积分:1
  • js实现日期控件,能够自动选择日期,
    js实现日期控件,能够自动选择日期,-js to achieve the date of control, able to automatically select the date,
    2022-02-24 22:55:43下载
    积分:1
  • 根据值来取ID,或者根据ID来取值,便于两者之间的转换
    根据值来取ID,或者根据ID来取值,便于两者之间的转换-Exchange from ID and values, we can tanslate between ID and values easily.
    2022-08-07 11:30:05下载
    积分:1
  • 一个简单的图书馆管理系统的WORD文档和源代码,一个很不错的图书馆管理系统...
    一个简单的图书馆管理系统的WORD文档和源代码,一个很不错的图书馆管理系统-a simple library management system of Word documents and source code, a very good library management system
    2022-03-23 08:59:36下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载