-
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
-
这是一个非常简单的俄罗斯方块游戏,希望大家喜欢。
这是一个十分简单的俄罗斯方块的游戏,希望大家会喜欢。-This is a very simple game of the Russian box, I hope you will like.
- 2022-07-01 02:06:16下载
- 积分:1
-
AutoCAD平台结构设计工具
按最新国家结构设计规范编写.
AutoCAD平台结构设计工具
按最新国家结构设计规范编写.-AutoCAD design tool based on the latest state standardized design prepared.
- 2023-04-26 14:05:04下载
- 积分:1
-
CORBA技术及实例
CORBA技术及实例-CORBA techniques and examples
- 2022-05-21 21:12:27下载
- 积分:1
-
A cat and mouse game, with source code and run the program for them to learn!
一款猫抓老鼠的游戏,有源码和运行程序,供大家学习!-A cat and mouse game, with source code and run the program for them to learn!
- 2022-02-03 15:20:46下载
- 积分:1
-
对五星级酒店的管理!只实现定房,退房,查商品的功能!
对五星级酒店的管理!只实现定房,退房,查商品的功能!-The management of the five-star hotel! Only to achieve the set room, check, check functional product!
- 2022-01-26 15:50:08下载
- 积分:1
-
LPC932单片机的头文件
LPC932 80c51 header files
- 2023-03-06 07:25:04下载
- 积分:1
-
我不太懂这个是不是有用的 希望如果没有用帮我删掉……抱歉啦...
我不太懂这个是不是有用的 希望如果没有用帮我删掉……抱歉啦-I do not quite understand this is not useful, if not used to help me ... sorry deleted Matata
- 2023-05-30 23:20:03下载
- 积分:1
-
在text中实现快速增量查询
在text中实现快速增量查询-text in achieving rapid incremental inquiries
- 2022-11-21 21:50:03下载
- 积分:1
-
newmark calculated without damping system
利用newmark方法计算无阻尼系统,并作图-newmark calculated without damping system
- 2023-03-27 19:35:03下载
- 积分:1