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

正文內(nèi)容

c語言課程設(shè)計報告書—學(xué)生信息管理系統(tǒng)-預(yù)覽頁

2025-03-03 23:23 上一頁面

下一頁面
 

【正文】 提示調(diào)試此程序,排除所有的錯誤和警告。 ( 4)請老師檢查,向老師演練此程序,并能回答老師提出的相關(guān)問題 。本程序分為 8個模塊 , 可以處理多個 學(xué)生 信息的輸入、添加、 刪除,修改 等問題。 ( 3)該學(xué)生基本信息管理系統(tǒng)是在 WINTC 中文簡體環(huán)境下運(yùn)行。分別為( 1)按學(xué)號查詢( 2)按姓名查詢( 3)按 成績 查詢 。 E、刪除模塊 : 此模塊中用到的刪除原理為覆蓋要刪除的學(xué)生的資料。 G、 排序 模塊:在此模塊中可以按 2種 方法進(jìn)行排序 ,分別為( 1) 按學(xué)號排序 ( 2)按平均成績 成績排序。 3 讀取功能: 讀取已輸入信息。 7 統(tǒng)計功能: 統(tǒng)計學(xué)生 信息并顯示。break。break。break。break。 } 刪除函數(shù)調(diào)用 int del_by_name() { char del_name[20],i,f=0。isum。 break。 } int del_by_num() { int del_num=0,i,f=0。 for(i=0。 information have been deleted!)。 getchar()。 int flag=0。s information\n)。s name: )。 scanf (%s,student[i].sex)。student[i].age)。student[i].class)。student[i].num)。 printf(\n student39。student[i]., amp。s birthday: )。student[i].)。student[i].telephone)。 printf(\n do you want to continue?(Y/N))。||choice==39。 flag=1。此程序結(jié)構(gòu)簡單明了,讓人一目了然,便于對程序的閱讀和理解。這才讓我認(rèn)識到理論和實踐是存在一定差別的。 (該塊較難處理) 4.在查詢模塊中,剛開始那個按商品類別查詢無法運(yùn)行,經(jīng)檢查,是由于未定義成字符串?dāng)?shù)組形式,因此定義變量的類型非常重要。 本程序是由 C 語言的基本單位 — 函數(shù)來設(shè)計實現(xiàn)與其功能的多次使用函數(shù)調(diào)用以及函數(shù)的嵌套調(diào)用。( 4)更新學(xué)生信息 。本程序的使用特別方便,每做完一個模塊,下面都有提示信息。這次設(shè)計 ,讓我重新掌握了 C 語言 ,而且還得到了用 C 語言解決實際問題的寶貴經(jīng)驗。 /*ji lu xue sheng de ren shu*/ struct data { int year。 struct score { int chinese。 }。 char plants[20]。 int age。 struct score exam。 int flag。information(the most is %d) \n,N)。s name: )。 scanf (%s,student[i].sex)。student[i].age)。student[i].class)。student[i].num)。 printf(\n student39。student[i]. ,amp。 scanf(%d, amp。 scanf(%d %d %d,amp。 printf(\n student39。s phone:)。 printf(\ndo you want to continue(Y/N) )。||choice==39。 flag=1。information input had been end!\n,i )。 } save_message(int sum) /*保存信息 */ { FILE *fp。 } for(i=0。 fclose(fp)。 return。 else i++。 int j=0。 PRINT1。 } else { PRINT2。 clrscr()。 } } } i++。 } insert_message() /*添加信息 */ { int i=sum。 printf(\n\n insert s student39。 printf(\n student39。 printf(\n student39。 printf(\n student39。 printf(\n student39。 printf(\n student39。 printf(\n student39。 printf(\n student39。student[i]., amp。s birthday: )。student[i].)。student[i].telephone)。student[i].add)。 if(choice==39。) { printf(\n continue!\n)。 }while(flag==1)。 printf( \n\n please input the student name:)。i++) { if(strcmp(student[i].name,del_name)==0) { student[i].num=1。 } } if(f==0) printf( \n\n********cannot find the student! *************\n\n)。 printf(\n\n please input the student num:)。isum。 f=1。 return 0。 information*******\n\n)。 printf( please choose (02):)。break。 } }while(choice!=0)。 do { clrscr()。isum。information\n)。 printf(\n which one do you want to revise?\n)。s age\n)。s birthday\n )。 switch(choice) { case 1: printf(\n shu ru xiu gai hou de name: )。 scanf(%d,amp。 scanf(%d,amp。 scanf(%d%d%d,amp。 break。 PRINT3。 } printf(\n\n do you want to continue revise ?(Y/N) )。||choice==39。 } else flag=0。 } renew_message() /*更新信息 */ { int choice。 printf(\n information\n\n)。 printf(\n chose (03):)。break。break。 char ch,R。 scanf(%s,inquire_name)。amp。 PRINT3。 } printf(\n Do you want to continue?(Y/N))。y39。 goto R。 R: clrscr()。 for(i=0。student[i].num!=0) { printf(\n\n student information)。 } else j++。 scanf(%c,amp。||ch==39。} } inquire_message() /*查詢信息 */ { int choice。 printf( \n\n)。choice)。break。 int choice。 scanf(%d,amp。 for(i=0。 } else j++。 bioskey(0)。 printf(\n num sorted\n)。i++) { k=i。 if(k!=i) { t=student[i]。i=sum。 int i,j,k。 for(i=0。j=sum。 student[k]=t。 bioskey(0)。 printf(\n 1. num sorted\n\n)。 scanf(%d,amp。 case 2: sort_aver()。 } main() /*主函數(shù) */ { int choice。 getch()。information\n\n)。information\n\n)。information\n\n)。information\n\n)。 printf( chose figure(08) :)。break。break。break。break。 } }while(choice
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1