-
黑白棋游戏源代码
黑白棋游戏源代码-source code
- 2022-12-08 11:10:03下载
- 积分:1
-
嵌套条件运算符的使用来完成这个问题:学术“= 90…
1输出国际象棋棋盘
2打印楼梯,同时在楼梯上方打印两个笑脸
3古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少?
4判断101-200之间有多少个素数,并输出所有素数。
5打印出所有的“水仙花数”,所谓“水仙花数”是指一个三位数,其各位数字立方和等于该数本身。例如:153是一个“水仙花数”,因为153=1的三次方+5的三次方+3的三次方。
6将一个正整数分解质因数。例如:输入90,打印出90=2*3*3*5。
程序分析:对n进行分解质因数,应先找到一个最小的质数k,然后按下述步骤完成:
(1)如果这个质数恰等于n,则说明分解质因数的过程已经结束,打印出即可。
(2)如果nk,但n能被k整除,则应打印出k的值,并用n除以k的商,作为新的正整数你n,
重复执行第一步。
(3)如果n不能被k整除,则用k+1作为k的值,重复执行第一步。
7利用条件运算符的嵌套来完成此题:学习成绩>=90分的同学用A表示,60-89分之间的用B表示,60分以下的用C表示。-The use of nested conditional operator to complete this question: academic "= 90 points, said students with A between 60-89, with B, said
60 points or less, said to use C.
- 2022-02-24 23:38:59下载
- 积分:1
-
vc编写的俄罗斯方块程序源码,界面简单,适合初学者。
vc编写的俄罗斯方块程序源码,界面简单,适合初学者。-vc box procedures prepared by the Russian source, the interface is simple, suitable for beginners.
- 2022-06-22 00:14:55下载
- 积分:1
-
本程序是一个简单的网络黑白棋程序 提供本地和网络的双人对战...
本程序是一个简单的网络黑白棋程序 提供本地和网络的双人对战-This procedure is a simple network of Othello program provides local and network of Double Battle
- 2022-05-30 02:11:58下载
- 积分:1
-
一个扑克牌网络游戏的C++源代码,学习C++的小例子
一个扑克牌网络游戏的C++源代码,学习C++的小例子-A poker online games C++ Source code, learn from C++ The small example
- 2022-02-19 23:09:24下载
- 积分:1
-
《Visual C++ MFC棋牌类游戏编程实例》网络demo源码
《Visual C++ MFC棋牌类游戏编程实例》网络demo源码-err
- 2023-09-08 23:30:03下载
- 积分:1
-
扑克游戏,所有的颜色,然后由许可证由小到大(1到1)页。
纸牌接龙游戏
把所有牌按花色依次从小到大( A 到 K )捡到右边的红色框中,全部捡完游戏结束。
主要操作有:鼠标单击和双击,没有拖动。
规则 1:方块接方块,草花接草花,从大到小的接(比如:方块8要接到方块9的下面)
规则 2:K 可以移到空的绿色框中
规则 3:最小的可以用双击自动移到红色框中
规则 4:点牌要点牌的上半截
规则 5:-poker word games all colors followed by licensing from small to large (A to K) picked up the right side of the red box, all seized End end of the game. Major operations are : mouse click and double-click, no drag. Rule 1 : Block access chunks and then Grasses and bedding plants, beginning with the largest access (for example : Block received eight to nine squares below) Rule 2 : K can be moved to the empty green box three rules : the smallest can double-click automatically moved to the red box Rule 4 : point license plates points the rules on sleeveless 5 :
- 2022-07-09 09:29:21下载
- 积分:1
-
呵呵,谁要下过这个程序,那就nb,不过不是源码啊
呵呵,谁要下过这个程序,那就nb,不过不是源码啊-Oh, who did the procedure, then nb, but not the source ah
- 2022-07-16 07:50:22下载
- 积分:1
-
用VB编写扑克牌游戏扑克控制控制。
扑克牌控件,用于VB编写扑克牌游戏的控件.-Poker control for VB controls to prepare poker game.
- 2022-03-02 00:43:35下载
- 积分:1
-
实现了下子,判定双方哪方输赢,在悔棋上面还有问题
实现了下子,判定双方哪方输赢,在悔棋上面还有问题-Now realize, the two sides determine which side winning or losing, there are issues in the above悔棋
- 2022-05-27 11:51:42下载
- 积分:1