-
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
-
递归分析器,完成递归分析器的各个功能,很好用
递归分析器,完成递归分析器的各个功能,很好用-Recursive parser, analyzer finish all recursive functions, a very good use
- 2022-09-21 18:10:03下载
- 积分:1
-
fdtd
关于时域有限差分方法的廖算法,非常好用,谢谢大家-fdtd
- 2022-01-25 17:00:32下载
- 积分:1
-
D3D Tile demo, very good presentation Tile
D3D Tile demo,很好的Tile演示-D3D Tile demo, very good presentation Tile
- 2023-08-08 19:45:03下载
- 积分:1
-
电力自动化产品中遥测量采集的电路图,包括PT、CT的变换及采集...
电力自动化产品中遥测量采集的电路图,包括PT、CT的变换及采集-power automation products distance measurement circuit diagram of the acquisition, including the PT, and the transformation of CT Acquisition
- 2022-01-25 16:42:14下载
- 积分:1
-
是一个用vc编的绘制多彩立方体的小程序,看看吧,很有意思的...
是一个用vc编的绘制多彩立方体的小程序,看看吧,很有意思的-with vc is a series of the mapping of small colorful cube procedures, and let"s see it, it"s fun
- 2022-03-25 04:25:33下载
- 积分:1
-
一篇对于催眠术的说明及其基本教程,详细阐述了相关概念和学习步骤!...
一篇对于催眠术的说明及其基本教程,详细阐述了相关概念和学习步骤!-For a description of hypnosis and its basic curriculum, elaborated on related concepts and learning the steps!
- 2022-01-28 01:13:35下载
- 积分:1
-
人机猜数软件,可以实现人猜机器和机器才人两种功能,界面友好,程序健壮...
人机猜数软件,可以实现人猜机器和机器才人两种功能,界面友好,程序健壮-guess a few man-machine software, can achieve guess machines and machines were only two functions, friendly interface and robust procedures
- 2022-01-31 08:57:41下载
- 积分:1
-
动态连接库编程,可以将系统资源放在动态链接库中,实现对动态连接苦进行访问...
动态连接库编程,可以将系统资源放在动态链接库中,实现对动态连接苦进行访问-DLL programming, system resources can be placed on dynamic link library, and realize the hardships Dynamic Link visit
- 2023-07-07 23:55:02下载
- 积分:1
-
8个字的点阵显示,可以向左移动,有非常简便的算法!
8个字的点阵显示,可以向左移动,有非常简便的算法!-eight-character dot-matrix display that can be left Mobile, a very simple algorithm!
- 2022-03-05 15:50:24下载
- 积分:1