程序目的:输入学号与excel姓名和学号对应,若输入之前输入的学生就显示“已输入”

502 Bad Gateway
502 Bad Gateway
nginx/1.4.7题目描述: 编写程序,从输入文件“data.in”中读入某班n个学生信息,建立学生数据结构体,包括学号、姓名_百度知道
题目描述: 编写程序,从输入文件“data.in”中读入某班n个学生信息,建立学生数据结构体,包括学号、姓名
是在 LINUX系统下,,
提问者采纳
i++;main(){ int i=0.out[root@localhost student]# ;; char linedata[100]={0},&quot./}st[10],sizeof(linedata)-1;
while (fgets(linedata.stid,st[i]; int stage.stage);n&
printf(&r&quotLINUX下编译通过).stname.in文件内容1 xiaoming 242 lilei 233 hanmeimei 22运行结果 [root@localhost student]#%d %s %d\data,st[i],fp).stage).c - FILE *fp=fopen(&quot.stname.in&%d %s %d&quot, st[i],&st[i];.struct student{ int stid,&!=NULL) {
sscanf(linedata,st[i]; char stname[20].out1 xiaoming 242 lilei 233 hanmeimei 22[root@localhost student]# #include &lt, &st[i].h&st
其他类似问题
按默认排序
其他1条回答
&lt.in”中读入某班n个学生(n &&lt问题补充; &quot:题目描述;人数错误& 1 || n & 60) { cout &lt:编写程序; return 0; &lt,从输入文件“data
数据结构的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁502 Bad Gateway
502 Bad Gateway
nginx/1.4.7}

我要回帖

更多关于 表格学号匹配姓名 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信