::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的结果的值structone{staticconstdoublef_val=1.0}//两个浮点数structtwo{staticconstdoublef_val=2.0}minus::value,one>::value>::value::f_val==0.5取负取负运算就是取一个浮点数的负数。-preparethemselveswithasmallCgames,DOSinterface,ohrun.FloatFloatbasicoperationsofthebasicoperationsarefourmajoroperations,symbols,sizes,andfloat-watchman"srattleso.Thefirstdocumentcontains"fn.hpp"#include"fn.hpp"floatfloatbasicoperationsofthebasicoperationsare,p-IMDN开发者社群-imdn.cn">
::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的结果的值structone{staticconstdoublef_val=1.0}//两个浮点数structtwo{staticconstdoublef_val=2.0}minus::value,one>::value>::value::f_val==0.5取负取负运算就是取一个浮点数的负数。-preparethemselveswithasmallCgames,DOSinterface,ohrun.FloatFloatbasicoperationsofthebasicoperationsarefourmajoroperations,symbols,sizes,andfloat-watchman"srattleso.Thefirstdocumentcontains"fn.hpp"#include"fn.hpp"floatfloatbasicoperationsofthebasicoperationsare,p - IMDN开发者社群-imdn.cn">
首页 »
其他项目 »
prepare themselves with a small C games, DOS interface, oh run. Float Float basi...
于 2022-03-22 发布
文件大小:266.95 kB
0 202
自己用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
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
“连连看”游戏开发平台,使用Access做的,在我们…
《连连看》游戏,使用Access做开发平台,对使用VBA处理图像及其他数据有一定帮助。另外,对连连看游戏及规则的算法实现,充分利用了AccessVBA中的内置对象,减少了编程的难度。-" Lianliankan" game development platform to use Access to do, on the use of VBA to deal with images and other data have some help. In addition, the rules of games and Lianliankan algorithm makes full use of the built-in object AccessVBA a decrease of programming more difficult.
2022-01-26 03:08:15下载
积分:1
Download from internet, an simple easy
calendar.
This is an microsoft HTML A...
Download from internet, an simple easy
calendar.
This is an microsoft HTML Application script calendar.
It can run on any microsoft windows Operating systemm.
2022-01-26 05:53:10下载
积分:1
包含非线性卫星转发器的FDM系统的仿真
仿真一个从卫星到区域数据中心的下行链路(由一组6个载波构成),评估热噪声,交调(IM)失真、由滤波器造成的码间干扰(...
包含非线性卫星转发器的FDM系统的仿真
仿真一个从卫星到区域数据中心的下行链路(由一组6个载波构成),评估热噪声,交调(IM)失真、由滤波器造成的码间干扰(ISI)以及邻频干扰对下行链路性能的影响。
-Contains the non-linear satellite transponder FDM system simulation simulation of a regional data centers from the satellite to the downlink (from a group of six carrier composition) to assess the thermal noise, intermodulation (IM) distortion, caused by the filter inter-symbol interference (ISI) and adjacent channel interference on the downlink performance.
2022-04-06 17:44:09下载
积分:1
simple Chinese chess game for the source code from C++ beginners learning
简单的中国象棋游戏源代码 适合从c++初学者学习-simple Chinese chess game for the source code from C++ beginners learning
2022-02-09 15:09:08下载
积分:1
只是一个打字游戏,有较强的娱乐功能,但是不是很完善,希望多多指教:)...
只是一个打字游戏,有较强的娱乐功能,但是不是很完善,希望多多指教:)-only a typing game, a strong entertainment features, but is not perfect, the exhibitions :)
2022-01-24 13:03:04下载
积分:1
很有趣的程序,C++写的,运行在DOS模式。
very fun program write c++ ,run on dos mode.-very fun program write c, run on dos mode.
2022-03-24 13:09:15下载
积分:1
自己看看,JSP写的简单的聊天程序
自己看看,JSP写的简单的聊天程序-Could see for himself, JSP write a simple chat program
2022-03-25 16:10:42下载
积分:1
一种关于Z变换新的算法
一种关于FDTD Z变换新算法的程序,程序通过调试,运行正常。A new algorithm of FDTD transform Z
2022-02-03 04:27:32下载
积分:1
基于VC6.0的opengl室内场景图
利用opengl库在VC下的一个室内的场景图,运用到了贴图技术,有沙发,落地灯,桌子,还有一个万花筒,很适合初学者,而且代码易看懂哟。。。
2022-11-29 03:10:04下载
积分:1
非常好的汉字转换为GB和Unicode工具
非常好的汉字转换为GB和Unicode工具-very good conversion of Chinese characters and Unicode tools GB
2022-03-31 22:17:13下载
积分:1