freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

c語言課程設(shè)計(jì)報(bào)告(宿舍管理系統(tǒng)-文庫吧資料

2024-09-13 02:19本頁面
  

【正文】 4s %20s\n,st[i].num,st[i].name, st[i].classs,st[i].dorm,st[i].sex,st[i].age,st[i].major)。 printf(學(xué)號 姓名 班級 宿舍號 性別 年齡 專 業(yè) \n)。ifnum。 system(cls)。 printf(請輸入需要?jiǎng)h除學(xué)生的學(xué)號: \n)。i++) fread(amp。 for(i=0。 fsize=filelength(fno)。 exit(1)。按任意鍵退出! )。 fp=fopen(,rt)。 system(cls)。 char d_num[10]。 return 1。 } else flag=0。) {flag=1。||choice==39。 if(choice==39。 printf(\n\n 繼續(xù)修改嗎 ?(Y/N))。 break。st[i],sizeof(struct st_message),1,fp)。 fseek(fp,sizeof(struct st_message)*i,0)。 printf(%8s %6s %4s %6s %4s %4s %20s\n,st[i].num,st[i].name, st[i].classs,st[i].dorm,st[i].sex,st[i].age,st[i].major)。 printf(學(xué)號 姓名 班級 宿舍號 性別 年齡 專業(yè)\n)。 system(cls)。 case 8:return 1。 scanf(%s,st[i].major)。break。 case 6:printf(\n 請輸入修改后的年齡: )。 scanf(%s,st[i].sex)。break。 case 4:printf(\n 請輸入修改后的宿舍號: )。 scanf(%s,st[i].classs)。break。 case 2:printf(\n 請輸入修改后的姓名: )。 scanf(%s,st[i].num)。choice)。 printf( \n)。 printf( \n)。 printf( \n)。 printf( \n)。 printf(您要修改哪一項(xiàng)? \n)。 printf(\n)。 if(!strcmp(re_name,st[i].name)) { printf(\n 該學(xué)生信息 \n\n)。i++) { fread(amp。 for (i=0。 printf(請輸入需要修改的學(xué)生姓名: )。 system(cls)。 fsize=filelength(fno)。 do {fp=fopen(,rt+)。 char re_name[20],s[20]。 break。) continue。||choice==39。 if(choice==39。 printf(輸入成功! \n 是否繼續(xù)添加 (Y/N)?)。 fwrite(amp。 printf(\n 請輸入所添加學(xué)生專業(yè): )。 printf(\n 請輸入所添加學(xué)生年齡: )。 printf(\n 請輸入所添加學(xué)生性別: )。 printf(\n 請輸入所添加學(xué)生學(xué)號: )。 printf(\n 請輸入所添加學(xué)生宿舍號: )。 printf(\n 請輸入所添加學(xué)生班級: )。 printf(請輸入所添加學(xué)生姓名: )。 system (cls)。 } for (i=0。 getchar()。 if(fp==NULL) {printf(\n\n*****庫存文件不存在!請建立。 FILE *fp。 } } } append_message() /*添加模塊 */ {int i。 else { fclose(fp)。Y39。y39。 choice=getchar()。st[i],sizeof(struct st_message),1,fp)。 gets(st[i].major)。 gets(st[i].age)。 gets(st[i].sex)。 gets(st[i].num)。 gets(st[i].dorm)。 gets(st[i].classs)。 gets(st[i].name)。 getchar()。 } for (i=0。 getchar()。 if(fp==NULL) {printf(\n\n*****庫存文件不存在!請建立。 FILE *fp。 } input_message() /*錄用信息模塊 */ {int i。st[i],sizeof(struct st_message),1,fp)。ifnum。 } rewind(fp)。 st[i]=st[j]。jfnum。ifnum1。st[i],sizeof(struct st_message),1,fp)。ifnum。 fnum=fsize/sizeof(struct st_message)。 } fno=fileno(fp)。 getchar()。 if(fp==NULL) {printf(\n\n*****文件打開錯(cuò)誤。 FILE *fp。 /*班級 */ }st[N],t。 /*年齡 */ char major[20]。 /*學(xué)號 */ char sex[5]。 /*學(xué)生姓名 */ char dorm[7]。 } return 1。 system(cls)。 printf(注冊成功! \n)。 flag=1。 } else { printf(兩次密碼輸入不同,請重新注冊! )。 fclose(fp1)。 if(!strcmp(m[0].code,code1)) {fwrite(amp。 printf(請?jiān)俅屋斎?注冊密碼: )。 printf(請輸入注冊密碼: )。 printf(請輸入注冊賬號: )。 } do {system(cls)。 getchar()。 if(fp1==NULL) {printf(\n\n*****文件打開錯(cuò)誤。 exit(1)。 } } printf(連續(xù) 3 次輸入錯(cuò)誤,退出! \n)。 } } if(i==fnum) {printf(輸入的賬號或密碼有誤,請重新輸入! )。 system(pause)。flag2==0) { fclose(fp1)。 if(flag1==0amp。 if(!strcmp(m[i].code,code)) flag2=0。 if(!strcmp(m[i].account,account)) flag1=0。i++) { fread(amp。 for(i=0。 printf(請輸入密碼: )。 printf(請輸入賬號: )。 while(k3) {getchar()。 fsize=filelength(fno)。 exit(1)。 if(fp1==NULL) {printf(\n\n*****你還沒有注冊,按任意鍵退出! )。 system(cls)。 scanf(%d,amp。 printf ( * 2. 注冊 *\n)。 printf (\n\n\n\n\n\n\n ***********學(xué)生宿舍管理系統(tǒng) **********\n)。 char code[6],code1[6]。 cipher() /*密碼模塊 */ { int i,k=0,flag,flag1,flag2,fno,fsize,fnum,choice。 char code[6]。 短短的兩周實(shí)習(xí)時(shí)間我收獲頗多, 我相信經(jīng)過這次實(shí)習(xí)必將為我以后的深入學(xué)習(xí)打下扎實(shí)的基礎(chǔ)。但是隨后幾天里,我對課本知識進(jìn)行了回顧并不時(shí)的向老師和同學(xué)進(jìn)行請教,慢慢的對編寫程序也開始得心應(yīng)手 起來 。 在設(shè)計(jì)過程中的感受 “萬事開頭難”這句話在我編
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1