-
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
-
凌阳DVD编辑软件LOGO
sunplus dvd logo editer software
- 2022-03-24 04:36:58下载
- 积分:1
-
PSO (Particle Swarm Optimization Particle Swarm Optimization), is a course in a...
PSO(Particle Swarm Optimization 粒子群优化算法),是课程的一个小项目,实现了单机调度排序-PSO (Particle Swarm Optimization Particle Swarm Optimization), is a course in a small project, to achieve a single machine scheduling to sort
- 2022-03-02 20:34:32下载
- 积分:1
-
a small expenditure and revenue management system
一个很小的支出收入管理系统-a small expenditure and revenue management system
- 2022-08-11 21:31:13下载
- 积分:1
-
PB is the complete tax management system that can run directly Please learning
这个是用PB完成的税务管理系统,可以直接运行
请大家学习
-PB is the complete tax management system that can run directly Please learning
- 2022-01-25 20:24:13下载
- 积分:1
-
一个用vc编写的猜数字游戏,简单易用,与文曲新中的那个一样,只是这个是用vc写的罢了...
一个用vc编写的猜数字游戏,简单易用,与文曲新中的那个一样,只是这个是用vc写的罢了-vc prepared with a viewing of the game, simple to use, with the venturi that the new, but it is just a write vc
- 2022-01-28 21:17:32下载
- 积分:1
-
Visual C# 隐藏显示鼠标的源码实例
Visual C#显示隐藏鼠标的一个例子,隐藏鼠标后,使用Tab键移动光标,从代码中可发现,隐藏鼠标只需将ShowCursor(false);即可,显示时就这样:ShowCursor(true);面向C#初学者。下面是核心的代码:
//重写API函数
[System.Runtime.InteropServices.DllImport("user32.dll", EntryPoint = "ShowCursor")]
public extern static bool ShowCursor(bool bShow);
private void btnHide_Click(object sender, EventArgs e)
{
ShowCursor(false);//鼠标隐藏
}
private void btnShow_Click(object sender, EventArgs e)
{
ShowCursor(true);//鼠标显示
}
- 2022-08-08 14:49:38下载
- 积分:1
-
打开一个bmp影像,然后对图形进行3*3,5*5,7*7,9*9四种模板的滤波处理。...
打开一个bmp影像,然后对图形进行3*3,5*5,7*7,9*9四种模板的滤波处理。-opened a bmp image, and then for three graphics** 3,5 7,9 5,7** 9 four template filter.
- 2022-06-12 01:03:48下载
- 积分:1
-
该代码是基于S3C44B0的键盘测试代码
该代码采用查询的方式来检测由外部产生的键盘信号....
该代码是基于S3C44B0的键盘测试代码
该代码采用查询的方式来检测由外部产生的键盘信号.-The code is based on the keyboard S3C44B0 test code using the code the way to inquiries by external detection the keyboard signal.
- 2022-01-30 16:52:15下载
- 积分:1
-
C#写的俄罗斯方块
C#写的俄罗斯方块 -C# Written Tetris C# Written Tetris
- 2022-07-24 15:18:06下载
- 积分:1