/*编写一个随机点名系统,运行该系统后,按空格键可以显示出一名同学,以前被选中的同学,将不会再次被选中*/
复制代码
1
复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17#include<stdio.h> /*standard input & output*/ #include <stdlib.h> /*standard libary*/ #include<string.h> /*string*/ #include <conio.h> /*Console Input/Output*/ #include <time.h> struct studentinfo /*学生信息的结构体*/ { char sNo[5]; /*学生编号*/ char sxueNo[14];/*学号*/ char sname[20];/*学生的姓名*/ }st[100]; char hash[100] = {0}; /*链表的数组*/ int main() { int i=0,j=0,flag = 0,RN,*a; FILE *fp; char ch,filename[20]={0},lin
最后
以上就是粗犷发卡最近收集整理的关于用C语言编写一个随机点名系统的全部内容,更多相关用C语言编写一个随机点名系统内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复