搜索资源列表
StringFloat
- 在VB程序中,完成字符与单精度浮点数的转换,其中StringToDouble为字符串转换为单精度数,FloatToString为单精度数转换为4字节字符串。-in VB program, complete with characters in the single precision floating point conversion, which StringToDouble to string conversion of single-precision the number of sing
classstr2
- 完善字符串类的运算符功能 1、 利用运算符重载完善字符串类的运算符功能。如: 串+整数;整数+串;浮点数+串;串-串;串/串 等; 2、 编制一个带菜单的小系统,演示该类的运算符操作。 -perfect string Operators such a function, using Operator perfect string category Operators function. Such as : String Integer; Integer string;
fdjs
- 在许多应用程序领域中,都需要控制小数点后的小数位,但是浮点数对此不能提供直接的支持。怎样对程序中的浮点数据进行"整齐"地格式化呢?在此我们有一个迂回的方法,先把它们转换为字符串,格式化后以文本形式显示出来。 -In many applications areas, both need to control the decimal places after the decimal point, but the floating-point numbers which can not provide
string_trans
- 从文本文件中读取按照一定格式存储的数据,并经过字符串处理,将数据存储到数组中。主要用到了char*到浮点数的转换,文件读取的一些常用函数。-Read from a text file format for storing data according to certain, and after a string processing, the data stored in the array. Main use of the floating-point conversion to char*,
calculator
- 把一串字符串数学表达式,解析成后缀表达式,并求解,支持+、-、*、/、()支持浮点数-A of string mathematical expressions, parsed into suffix expression, support+,-*, /, () support floating-point number
floatingpoint-calculation
- c语言模拟计算机浮点数计算 1、float stof(char *) //十进制字符串 --> float (如:"-1.0" --> 0xFF800000) 2、float fadd(float, float) 3、float fsub(float, float) 4、float fmul(float, float) 5、float fdiv(float, float) 6、void ftos(char *, float) //float --&g
atof
- 将字符串转换为浮点数子的小程序 -Please carefully write the upload information, including content descr iption (at least 20 words). Try not to let the owners have spent the time you fix instructions. Can not have a password archive decompression.
main
- 字符串转浮点数,解决KEIL的atof不能使用-The string turn a floating-point number, solve KEIL atof can not use
calculator
- 递归下降计算表达式。支持浮点数与字符串的运算。支持三目运算符(?:)-Recursive descent calculation expression. Support for floating-point arithmetic and string. Support ternary operator (? :)
Exponentiation
- 用字符串实现浮点数计算,使输出精度达到30多位。-Characters used to calculate floating-point multiply achieve, achieve the output accuracy of 30 degrees position