-
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
-
RPG游戏场景编辑器源代码,可以用于编辑RPG游戏的场景,供大家学习如何制作RPG游戏的场景工具...
RPG游戏场景编辑器源代码,可以用于编辑RPG游戏的场景,供大家学习如何制作RPG游戏的场景工具-RPG game Scene editor source code, can be used for editing RPG game scenes for everyone to learn how to produce RPG game scene tools
- 2022-07-09 17:52:14下载
- 积分:1
-
迷宫问题的算法(优于广度优先,深度优先
迷宫问题的算法(优于广度优先,深度优先-maze of algorithm (priority than breadth, depth priority
- 2022-06-15 11:22:11下载
- 积分:1
-
简单潜艇大战是一个很有意思的游戏,简单好玩。
简单潜艇大战是一个很有意思的游戏,简单好玩。-Simple World War II submarine is a very interesting game, simple fun.
- 2022-08-06 10:59:27下载
- 积分:1
-
pb learning needs of the view! Learning pb very good break
学习pb的有需要的来看吧!学习pb很有好处的课间 很不错哦-pb learning needs of the view! Learning pb very good break-time was pretty good, oh
- 2022-06-03 12:55:53下载
- 积分:1
-
在vc环境下,基于arcobject开发源码2
在vc环境下,基于arcobject开发源码2-in vc environment, based on the two-source development arcobject
- 2022-03-20 06:12:04下载
- 积分:1
-
用FORTRAN编写的‘一维非稳态导热通用程序’,对学计算流体力学的人很有用!...
用FORTRAN编写的‘一维非稳态导热通用程序’,对学计算流体力学的人很有用!-FORTRAN prepared with one-dimensional non-steady-state thermal conductivity of common procedures, computational fluid dynamics study of people very useful!
- 2022-05-19 17:33:42下载
- 积分:1
-
该算法设计短小精悍,很有参考价值,这是用VC++6.0编写的算法,希望大家可以参考...
该算法设计短小精悍,很有参考价值,这是用VC++6.0编写的算法,希望大家可以参考-the algorithm design small and great reference value, which is used to prepare the VC 6.0 algorithm, we can hope that the reference
- 2022-03-13 21:11:11下载
- 积分:1
-
周立功的7289功能在这里了,有点是程序来的,你们给点意见吧,多谢了...
周立功的7289功能在这里了,有点是程序来的,你们给点意见吧,多谢了-ZHOU Li-gong in the 7289 feature here, a bit is the procedure, you to point it, I would like to thank the
- 2023-04-07 16:10:04下载
- 积分:1
-
mwc基于stm32的飞控代码baseflight
mwc基于stm32的飞控代码baseflight,对初 学者有很大的帮助,这个适合航模爱好者,难度还是有点大大的,具体的可以去网上找mwc基于AVR的代码
- 2022-07-13 07:31:45下载
- 积分:1