-
function long StrToData (CString strData. int jz) function : is the string to in...
函数 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
- 2023-05-26 02:20:03下载
- 积分:1
-
prepare themselves with a small C games, DOS interface, oh run. Float Float basi...
自己用C编写的小游戏,DOS界面哦,可以运行。 浮点数基本运算 浮点数的基本运算主要有四则运算、符号处理、大小比较,以及浮点数分柝等。 包含头文件 "fn.hpp" #include "fn.hpp" 浮点数基本运算 浮点数的基本运算中有加、减、乘、除、取负、绝对值、相等比较等。 加减乘除 加、减、乘、除四个运算极为相似,都是需要两个参数,结果当然也是浮点数了。 例子: // 加 减 乘 除 btil::fn::plus::value // f1+f2 的结果 btil::fn::minus::value // f1-f2 的结果 btil::fn::multiplies::value // f1*f2 的结果 btil::fn::divides::value // f1/f2 的结果 plus::value::f_val // f1+f2 的结果的值 struct one { static const double f_val = 1.0 } // 两个浮点数 struct two { static const double f_val = 2.0 } minus::value::f_val == 0.5 取负 取负运算就是取一个浮点数的负数。-prepare themselves with a small C games, DOS interface, oh run. Float Float basic operations of the basic operations are four major operations, symbols, sizes, and float-watchman"s rattle so. The first document contains "fn.hpp"# include "fn.hpp" float float basic operations of the basic operations are, p
- 2022-03-22 16:15:25下载
- 积分:1
-
tankwar
基本功能都有了,很经典的一款游戏,大家给补充一下吧。-tankwar
- 2022-03-03 10:36:29下载
- 积分:1
-
此程序是无刷电机控制程序,在实物中以经调试通过.各项性能指标均合格....
此程序是无刷电机控制程序,在实物中以经调试通过.各项性能指标均合格.-This procedure is brushless motor control procedures, in-kind in the adoption by the debugger. The performance indicators were qualified.
- 2022-03-17 14:57:29下载
- 积分:1
-
开发FPGA的入门程序.是一个4个LED点亮程序
开发FPGA的入门程序.是一个4个LED点亮程序-Entry procedures for the development of FPGA
- 2023-03-13 20:00:03下载
- 积分:1
-
This the part for the SAA7121H chip for use within EAGLE cad. it has the footpri...
This the part for the SAA7121H chip for use within EAGLE cad. it has the footprint and the Symbol-This is the part for the SAA7121H chip for use within EAGLE cad. it has the footprint and the Symbol
- 2023-05-04 11:30:03下载
- 积分:1
-
Windows Visita 操作系统中新增加的API函数集和帮助文件
Windows Visita 操作系统中新增加的API函数集和帮助文件-The new operating system, Windows Visita additional set of API functions and help files
- 2023-06-12 01:50:05下载
- 积分:1
-
一个非常好的微处理器检测遥控器编码的C++
原代码项目文件,直接可用,LED显示,成果真诚奉献...
一个非常好的微处理器检测遥控器编码的C++
原代码项目文件,直接可用,LED显示,成果真诚奉献-a very good microprocessor remote detection coding in C source code project documents directly available, LED Display, results sincere dedication
- 2022-03-04 04:25:58下载
- 积分:1
-
用matalb实现了参数可变的极零抵消滤波器还陷波滤波器输入参数既可以应用...
用matalb实现了参数可变的极零抵消滤波器还陷波滤波器输入参数既可以应用-Matalb achieved with an extremely variable parameter is also zero-offset filter notch filter can be applied to both the input parameters
- 2022-05-17 21:16:10下载
- 积分:1
-
一种小小的乘法器,基于VC++,可以说是一个比较简单的练习MFC与C++的小程序。...
一种小小的乘法器,基于VC++,可以说是一个比较简单的练习MFC与C++的小程序。-A small multiplier, based on VC++, Can be said to be a relatively simple exercise MFC and C++ Small procedures.
- 2023-04-11 10:10:04下载
- 积分:1