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

您现在的位置是:虫虫源码 > 其他 > 函数 long StrToData(CString strData,int jz) 功能:字符串转为正整数值 [字符串可为2...

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

资 源 简 介

函数 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.

文 件 列 表

HexStrToInt
HexStrToInt.clw
HexStrToInt.cpp
HexStrToInt.dsp
HexStrToInt.dsw
HexStrToInt.h
HexStrToInt.rc
HexStrToIntDlg.cpp
HexStrToIntDlg.h
res
resource.h
StdAfx.cpp
StdAfx.h
StrToData.cpp
StrToData.h
readme.txt
VIP VIP
0.165144s