-
Graphics gems, vol.1
Graphics gems, vol.1
- 2022-01-25 23:25:23下载
- 积分:1
-
this is a game, has completed the hope that the exhibitions
这个是斗地主的游戏,还没有全部完成,希望多多指教-this is a game, has completed the hope that the exhibitions
- 2022-02-05 11:54:58下载
- 积分:1
-
Windows Mobile 开发资源,介绍了一些开发资源,很好。
Windows Mobile 开发资源,介绍了一些开发资源,很好。-Windows Mobile development resources, introduce a number of development resources, very good.
- 2022-07-12 05:19:16下载
- 积分:1
-
项目名称:科学计算器
姓名:刘博
学号:03031147
班级:能动35
完成时间:2004...
项目名称:科学计算器
姓名:刘博
学号:03031147
班级:能动35
完成时间:2004-11-29
指导教师:罗建军
一.项目背景:
1.背景简介
我们在学习生活中,常会遇到一些繁杂的数值运算,尤其是遇到正弦、余弦、对数等手算困难的运算时,这时候我们就必须用到科学计算器,所以我便着手开发了这个计算器程序,以便用于自己的学习工作。
2.项目目标
编写一个能进行科学计算的计算器程序。
要求:
输入:被计算的数据
输出:计算结果
3.运行环境
1 硬件:
PIII 计算机(CPU 主频 550MHz以上、128MB内存)
2 软件
Windows XP 操作系统
Visual C++ 6.0
二.算法描述
1 选用对话框,并加入控件,做好计算器可视的外表。
2 给控件添加属性中的ID和名称。
3 在CCaculateDilg类中添加主要程序代码。
4 数字的输入
这个计算器应用程序实现的是顺序连接计算,即按照计算数和计算符的输入次序进行计算,知道按下"="按钮为止完成一次计算过程.过程可分为三个步骤:一是对计算数和计算符的输入处理 二是对计算的处理 三是对显示的处理.
1.处理输入
在程序中使用m_operand来储存当前的输入.每次输入时都必须将输入的数字累
- 2022-08-23 23:54:45下载
- 积分:1
-
在 Windows2000 环境下实现动态 DNS 的安全考虑
在 Windows2000 环境下实现动态 DNS 的安全考虑-In Windows2000 environment dynamic DNS security considerations
- 2023-03-14 05:00:04下载
- 积分:1
-
各种背包数据集,可以用来测试智能算法的优化性能。
各种背包数据集,可以用来测试智能算法的优化性能。-all kinds of knapsack data set and can be used to test the optimization performance of intelligent algorithms
- 2022-04-29 08:57:12下载
- 积分:1
-
电子语言,最新的自动更新的源代码,实现主…
易语言的最新自动更新的源码,实现了主程序和非主程序的自动更新.-E language, the latest automatic updates of the source code to achieve the main program and non-automatic updates of the main program.
- 2022-02-25 09:11:10下载
- 积分:1
-
研究数据结构,使课程设计。实现一些文件,第1个…
学习数据结构做的课程设计.有多个文件实现,这个项目也是比较多人选的,相信上传会有帮助的-study data structure so the curriculum design. Achieve a number of documents, the project is more of the candidates, Upload believe can be helpful
- 2023-04-02 22:10:04下载
- 积分:1
-
VB+M0开发GIS代码,根据查找地物的特征可以很方便的进行查询,如按距离、SQL语句等...
VB+M0开发GIS代码,根据查找地物的特征可以很方便的进行查询,如按距离、SQL语句等-VB M0 Development GIS code, according to the characteristics of search features can easily query, such as by distance, SQL statements, etc.
- 2022-08-25 22:49:27下载
- 积分:1
-
Find prime numbers prepared by screening the function: void sieve (bool isPrime...
编写筛选查找素数函数:
void sieve(bool isPrime[], int n)
其中isPrime[ ]为一个布尔型数组,n为数组大小。由于2是第一个素数,
所以设置isPrime[0]和isPrime[1]的值为false,并设置其余的元素初值为true。
然后对从4到n-1的每一个i,判断i是否能够被2整除,如果i能够被2整除,则设置isPrime[i]为false。
对从2到n/2的每一个可能的数值重复以上处理,当操作结束时,所有值为true的isPrime[i]所对应的i就是素数,它们将是从筛子中掉下来的。-Find prime numbers prepared by screening the function: void sieve (bool isPrime [], int n) which isPrime [] as a Boolean array, n is the size of the array. Because 2 is the first prime number, so set the isPrime [0], and isPrime [1] a value of false, and set the initial value of the remaining elements of true. And then from 4 to n-1 for each i, to determine whether i can be divisible by 2, if i can be divisible by 2, then set the isPrime [i] is false. From 2 to n/2 possible values for each one to repeat the above processing, when the operation ended, all the true value of the isPrime [i] corresponding to i is a prime number, they will be falling from the sieve in the past.
- 2023-03-02 04:45:03下载
- 积分:1