搜索资源列表
20040728c++huoqucdrom
- 一台机器可能有不止一个CD-ROM驱动器。现在CD-ROM已经是PC机的标准配置,此外再装个可擦写的光盘驱动,甚至是DVD都是很常见的事情。不管一台机器上装多少个不同的驱动器,如何找到它们呢?请用下程序-a machine may have more than one CD-ROM drive. Now CD-ROM is PC's standard configuration, in addition to rearm-erasable CD-ROM drive, even DVD i
Notes
- 这是一个倒计时程序,他会在桌面上保留一个小小的工具条,显示距离某个日子(如考研)还有多少天。拉开程序界面之后,还可以在每一天里面写上数条笔记,记下要做的事情,比如读书计划等。-This is a countdown procedures, he will retain the desktop tools of a tiny show from a particular day (taking tests) how many days. After the proceedings started
由日期求出多少天
- 由日期求出有多少天,一个日期转换的问题,适用于WIN98/WINX2000/WINXP-date sought by a number of days, a date conversion are applicable to WIN98/WINX2000/WINXP
第一次实验报告(数正方)
- 设有n*m个方格的棋盘(1<=m,n<=100),求出该棋盘中包含多少个正方形、多少个长方形(不包括正方形)。 例如:当n=3,m=2 时 正方形的个数有8个;即边长为1的正方形有6个;边长为2的正方形有2个。 -with n * m box at the chessboard (1LT; = M, 4; = 100), obtained the chessboard includes the number of square, the number of rect
datatool
- 数据库比较工具,分别输入要连接的数据库,比较库中相同名字的表的字段是否相同,相同表名前会自动打勾,结果得出相同字段有多少,表a比表b多出的字段是什么,少的是什么。-database comparison tool to import the database to link more library the same name of the table if a field is the same as before the same table name will be automatical
挂机挣积分
- 挂机挣积分,针对一些网站要挂机多少分钟后,积分要增加一点。-outboard earning points against some websites to how many minutes after the coolness, integral to increase 1:00.
打鱼还是晒网
- 中国有句俗语叫“三天打鱼两天晒网”。某人从1990年1月1日起开始“三天打鱼两天晒网”,问这个人在以后的某一天中是“打鱼”还是“晒网”。 *问题分析与算法设计 根据题意可以将解题过程分为三步: 1)计算从1990年1月1日开始至指定日期共有多少天; 2)由于“打鱼”和“晒网”的周期为5天,所以将计算出的天数用5去除; 3)根据余数判断他是在“打鱼”还是在“晒网”; 若 余数为1,2,3,则他是在“打鱼” 否则 是在“晒网” -There is a Chine
记录当前时间+内存检测
- 记录当前时间+内存检测(可绑在一个程序里,得知程序是什么时候启动的,我是把他放在启动目录里,看电脑启动了多少次)-record current time, memory checking (to be tied in a procedure, to know what is the procedure started, I put him launch directory, the computer started to see how many times)
可称1~40磅的4块砝码
- 法国数学家梅齐亚克在他著名的《数字组合游戏》(1962)中 提出了一个问题:一位商人有一个重40磅的砝码,一天不小心将 砝码摔成了四块。后来商人称得每块的重量都是整磅数,而且发 现这四块碎片可以在天平上称1至40磅之间的任意重量。请问这 四块碎片各重多少?-Meijieke French mathematician in the famous "number combinations Game" (1962), presented a
10个小孩分糖果
- 十个小孩围成一圈分糖果,老师分给第一个小孩10块,第二 个小孩2块,第三个小孩8块,第四个小孩22块,第五个小孩16块 ,第六个小孩4块,第七个小孩10块,第八个小孩6块,第九个小 孩14块,第十个小孩20块。然后所有的小孩同时将手中的糖分一 半给右边的小孩;糖块数为奇数的人可向老师要一块。问经过这 样几次后大家手中的糖的块数一样多?每人各有多少块糖?-10 points .... candy children, teachers added t
人机猜数游戏
- 由计算机“想”一个四位数,请人猜这个四位数是多少。人 输入四位数字后,计算机首先判断这四位数字中有几位是猜对了 ,并且在对的数字中又有几位位置也是对的,将结果显示出来, 给人以提示,请人再猜,直到人猜出计算机所想的四位数是多少 为止。-by computer "to" a four-digit, four-digit people to guess how much. Importing four figures, the comput
C51音乐程序
- /本例采用89C52, 晶振为11.0592MHZ //关于如何编制音乐代码, 可以看以下代码. //频率常数即音乐术语中的音调,而节拍常数即音乐术语中的多少拍 -/ 89C52 used the cases, crystal-11.0592MHZ / / Music on how to prepare code, can see the following code. / / Frequency is constant music terms of tones, rhythms and
tros
- 这个程序可以对多个数字进行快速排序,只要对排序数的多少进行修改,就可以变成任意个有限数的排序了-this procedure can be carried out on a number of Quick Sort figures, as long as the sequencing The number of revision it can be turned into a limited number of arbitrary 000 ranking of the
choujiang2006
- 可以一次抽取多个中奖号码的抽奖程序. 可以自己设置中奖号段,设置抽取多少个号码,结果保存在数据库中-can take more than a winning lottery numbers procedures. Winning can set up its own, set the number of numbers collected, stored in a database
lanjiedaodan
- 拦截导弹输入 第一行为导弹的个数 第二行为使用逗号分隔的导弹依次飞来的高度(雷达给出的高度数据是不大于30000 的正整数) 输出 这套系统最多能拦截多少导弹 -importation of the first missile interceptor missiles acts Number second acts use comma-separated missiles were flying in the height ( given the high
java_example
- 实例(java) 1. 编写一个程序,列出1 到1000 以内的,求59 的余后为1 质数。 2. 试编写程序解下面的问题。猴子吃桃问题:猴子第一天摘下若干个桃子,当即吃了 一半,还不瘾,又多吃了一个 第二天早上又将剩下的桃子吃掉一半,又多吃了一个。 以后每天早上都吃了前一天剩下的一半零一个。到第10 天早上想再吃时,见只剩 下一个桃子了。求第一天共摘了多少。 3. 编写一个程序求1+2!+3!+...+20!的和。 4. 试编写程序求解下面的问题:海滩上有一堆桃子,
Taozi
- 猴子吃桃问题:猴子第一天摘下若干个桃子,当即吃了一半,还不瘾,又多吃了一个 第二天早上又将剩下的桃子吃掉一半,又多吃了一个。以后每天早上都吃了前一天剩下 的一半零一个。到第10天早上想再吃时,见只剩下一个桃子了。求第一天共摘了多少。 -monkeys eat peaches : monkeys became the first several days of peaches, a half-eaten immediately, not addiction, Also ea
ThreeNum
- 有1、2、3、4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少? 用C++写的-a 1,2,3,4 figures, the number can be formed with each other with no repeat of the triple-digit figures? How many are? Written in C
qiuti
- 利用二十面体逼近球体的方法,不断的产生新的三角形,其中depth表示二十面体中的每个三角形要进行多少次的四等分。-use icosahe spherical approximation method, and constantly create new to the triangle. which said the 20-depth body of each triangle to the number of occasions in the four sub.
memory_bcb
- 确定系统还有多少可用的内存,C++ Builder环境-identify the number of available memory, C Builder environment