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},"./}st[10],sizeof(linedata)-1;
while (fgets(linedata.stid,st[i]; int stage.stage);n&
printf(&r"LINUX下编译通过).stname.in文件内容1 xiaoming 242 lilei 233 hanmeimei 22运行结果 [root@localhost student]#%d %s %d\data,st[i],fp).stage).c - FILE *fp=fopen(".stname.in&%d %s %d", 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 <, &st[i].h&st
其他类似问题
按默认排序
其他1条回答
<.in”中读入某班n个学生(n &<问题补充; ":题目描述;人数错误& 1 || n & 60) { cout <:编写程序; return 0; <,从输入文件“data
数据结构的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁502 Bad Gateway
502 Bad Gateway
nginx/1.4.7}