随笔分类 -  小程序设计

摘要:1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define ROW 9 //行 6 #define COL 9 //列 7 8 #define EASY_COUNT 10 //雷数 9 10 #define ROWS 阅读全文
posted @ 2021-08-26 20:37 1379号监听员" 阅读(76) 评论(0) 推荐(0) 编辑
摘要:分享一个小小的关机程序,可你发送给你的好友哦!!! #include<stdio.h> #include<string.h> //strcmp() #include<stdlib.h>//system() int main() { char input[20]={0}; system("shutdo 阅读全文
posted @ 2021-08-15 11:13 1379号监听员" 阅读(508) 评论(0) 推荐(0) 编辑
摘要:猜数字游戏 1.系统分析 在本游戏中,电脑会给出1~100之间的一个随机数,玩家通过键盘输入猜测的数字,电脑会判断输入的数字是否为生成的随机数,并做出相应的提示(猜大了,猜小了,答对了)。 2.概要设计 此系统可分为以下几个功能模块:菜单模块;随机数生成模块;判断及提示模块;主函数模块。 3.详细设 阅读全文
posted @ 2021-08-14 09:43 1379号监听员" 阅读(953) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示