Welcome![Sign In][Sign Up]
Location:
Search - StrToDa

Search list

[Windows Develop2-16进制正整数字符串转为数值11

Description: 函数 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.
Platform: | Size: 12288 | Author: 梁志洪 | Hits:

CodeBus www.codebus.net