首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > function long StrToData (CString strData. int jz) function : is the string to in...

function long StrToData (CString strData. int jz) function : is the string to in...

  • 资源大小:11.87 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分: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 long StrToData (CString strData. int jz) function : is the string to integer values [string for 2-16] arbitrary numerical string to 229 : long integer numerical parameters : strData will be converted to a string parameters : jz for the string-band such as : CString s = s "FFA6" long StrToData data = (s, 16) : data values are : 65446 directions : StrToData.cpp StrToData.h and will be added to your copy of the works, in the need to call a function to add# include "StrToData.h" can be transferred with

文 件 列 表

HexStrToInt
HexStrToInt.clw
HexStrToInt.cpp
HexStrToInt.dsp
HexStrToInt.dsw
HexStrToInt.h
HexStrToInt.rc
HexStrToIntDlg.cpp
HexStrToIntDlg.h
res
HexStrToInt.ico
resource.h
StdAfx.cpp
StdAfx.h
StrToData.cpp
StrToData.h
使用说明.txt
res
VIP VIP
0.217262s