




已閱讀5頁(yè),還剩10頁(yè)未讀, 繼續(xù)免費(fèi)閱讀
版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
balanced and run the satisfaction of the people education. Room XX City Bureau of educational supervision of XX municipality May 6, 2016 County economic information and Business Council System Committee two learn a do learning arrangements specific programme for advance full strictly rule party, according to County Organization Department on County two learn a do learning arrangements of specific programme and I Board learning education implementation programme spirit, according to distinguish level, and has targeted solution problem of requirements, ensure learning education made effectiveness, promote all members consciously respected Constitution, and comply with party rules, with XI General Secretary series important speech spirit armed mind, and guide practice, and Promote the work and be qualified party members and learning arrangements are hereby makes the following specific programmes. Learning requirements, on all party members to study the party Constitution and party rules and unify the XI series of important speech, General Secretary, speech learning series to deepen understanding of the Constitution Party rules, Constitution Party rules in the deep insight series address the basic spirit and practical requirements. 1. Constitution Party rules. Learning of the party Constitution, a deep understanding of the partys nature, purpose, guiding principles, goals, organization, good style, grasp conditions, rights and obligations of party members, bearing in mind that oath, clear qualified party member criteria and conditions. Learning the code of self-discipline of the CPC, the CPCs disciplinary regulations, the Chinese Communist Party Member Rights Ordinance and so on, mastering self-discipline standards of four must, the four upholdings, mastering various types of disciplinary offence and punishment provisions. 2. series spoke. To XI General Secretary series important speech reading (2016 version) and out poverty for basic textbook, learning understand XI General Secretary series important speech of basic spirit, learning understand Central ruling acting political new concept new thought new strategy of basic content, learning understand XI General Secretary in Fujian work during advocate of four grassroots immediately on do drop weak bird first fly and the in Nanping research study proposed of gravity Xia moved, and innovation mechanism, important thought, Master and strengthen the party spirit, fulfills the purpose ideas, moral character, conservation related to the basic requirements. Main understand master following aspects content: (1) ideal faith is Communists spirit Shang of calcium, set right of worldview, and Outlook on life, and values; (2) China dream is national of dream, and national of dream, and people of dream, is Chinese modern yilai most great of dream, core Essentials is national prosperity, and national revitalization, and people happiness; (3) China features Socialist is achieved Chinese great revival of way, enhanced road confidence, and theory confidence, and system confidence; (4) four a full Strategy layout is new of history conditions Xia party ruling acting political total strategy, consciously with four a full led the work; (5) insisted innovation, and coordination, and green, and open, and shared development is relationship China development global of one deep change, according to new development concept do job; (6) practice line Socialist core values, promote Socialist thought moral and Chinese traditional virtue一、課程設(shè)計(jì)目的 加深對(duì)C語(yǔ)言課程所學(xué)知識(shí)的理解,進(jìn)一步鞏固C語(yǔ)言語(yǔ)法規(guī)則。學(xué)會(huì)編制結(jié)構(gòu)清晰、風(fēng)格良好、數(shù)據(jù)結(jié)構(gòu)適當(dāng)?shù)恼Z(yǔ)言程序,從而具備解決綜合性實(shí)際問(wèn)題的能力, 使學(xué)生通過(guò)系統(tǒng)分析、系統(tǒng)設(shè)計(jì)、編程調(diào)試,寫實(shí)驗(yàn)報(bào)告等環(huán)節(jié),初步掌握軟件系統(tǒng)設(shè)計(jì)的方法和步驟,訓(xùn)練靈活運(yùn)用程序設(shè)計(jì)語(yǔ)言進(jìn)行軟件開(kāi)發(fā)的能力,提高分析問(wèn)題和解決問(wèn)題的能力,提高程序設(shè)計(jì)水平,培養(yǎng)必要的工程實(shí)踐動(dòng)手能力二、課程設(shè)計(jì)內(nèi)容 學(xué)生學(xué)籍管理系統(tǒng)1, 輸入并驗(yàn)證密碼;2, 設(shè)計(jì)菜單進(jìn)行選擇相應(yīng)的操作;3, 用鏈表錄入并輸出數(shù)據(jù),包括學(xué)生的戶籍、成績(jī)、獎(jiǎng)懲信息;4, 將錄入的數(shù)據(jù)存放在文件里面并讀取文件;5, 對(duì)錄入的數(shù)據(jù)進(jìn)行修改;6, 刪除個(gè)人信息;7, 查找個(gè)人信息;8, 對(duì)錄入的成績(jī)進(jìn)行排序;9, 統(tǒng)計(jì)不及格的成績(jī);10, 釋放鏈表;三、需求分析對(duì)所開(kāi)發(fā)系統(tǒng)功能、性能的描述,想要實(shí)現(xiàn)的目標(biāo)。輸入并驗(yàn)證密碼的正確性,定義結(jié)構(gòu)體類型來(lái)存放學(xué)生的基本信息(包括學(xué)生的姓名、學(xué)號(hào)、性別、出生日期等),然后建立鏈表存放信息,將信息存入文件中,以便以后的各個(gè)功能模塊調(diào)試時(shí)直接調(diào)用,對(duì)數(shù)據(jù)進(jìn)行修改、刪除、查找、排序操作,然后對(duì)輸入的數(shù)據(jù)進(jìn)行統(tǒng)計(jì),查出不及格的學(xué)生成績(jī)。實(shí)現(xiàn)的目標(biāo)是對(duì)學(xué)生的學(xué)籍進(jìn)行管理,更新并統(tǒng)計(jì)數(shù)據(jù)。 四、概要設(shè)計(jì)輸入數(shù)據(jù)函數(shù)輸出數(shù)據(jù)函數(shù)查找數(shù)據(jù)函數(shù)刪除數(shù)據(jù)函數(shù)輸 入 密 碼修改數(shù)據(jù)函數(shù)主 菜 單保存文件函數(shù)讀取文件函數(shù)排序函數(shù)統(tǒng)計(jì)函數(shù)退出系統(tǒng)功能模塊說(shuō)明:輸入密碼:從鍵盤輸入密碼,判斷輸入的密碼是否與系統(tǒng)設(shè)定的密碼相同,若相同則進(jìn)入主菜單,不相同則繼續(xù)輸入; 主菜單:顯示系統(tǒng)的各項(xiàng)功能與相對(duì)應(yīng)的數(shù)字選項(xiàng)。輸入數(shù)據(jù)函數(shù):從鍵盤輸入數(shù)據(jù),并將數(shù)據(jù)存入鏈表。輸出數(shù)據(jù)函數(shù):對(duì)存儲(chǔ)的數(shù)據(jù)進(jìn)行輸出。查找數(shù)據(jù)函數(shù):對(duì)存儲(chǔ)的數(shù)據(jù)進(jìn)行查詢并顯示查詢結(jié)果。刪除數(shù)據(jù)函數(shù):對(duì)存入的數(shù)據(jù)進(jìn)行刪除。修改數(shù)據(jù)函數(shù):對(duì)存入的數(shù)據(jù)進(jìn)行修改。保存數(shù)據(jù)函數(shù):將從鍵盤輸入的數(shù)據(jù)存入到文件中讀取數(shù)據(jù)函數(shù):從文件中讀取個(gè)人信息。排序函數(shù):對(duì)平均成績(jī)進(jìn)行排序并顯示排序結(jié)果統(tǒng)計(jì)函數(shù):對(duì)不及格成績(jī)進(jìn)行統(tǒng)計(jì)并顯示統(tǒng)計(jì)結(jié)果。退出系統(tǒng):退出系統(tǒng)五、詳細(xì)設(shè)計(jì)及運(yùn)行結(jié)果流程圖錯(cuò)誤 判斷正確性主菜單正確 修改數(shù)據(jù)是選擇5選擇1選擇3選擇2選擇4否否否否是是是是從鍵盤輸入數(shù)據(jù)并存入鏈表輸出數(shù)據(jù)查找個(gè)人信息刪除數(shù)據(jù)否是保存文件選擇6否是讀取文件選擇7否 是對(duì)成績(jī)進(jìn)行排序選擇8否是統(tǒng)計(jì)不合格的成績(jī)選擇9選擇0退出六、調(diào)試情況,設(shè)計(jì)技巧及體會(huì) 通過(guò)兩周的課程設(shè)計(jì),我對(duì)學(xué)過(guò)的C語(yǔ)言基本知識(shí)進(jìn)行了鞏固,并且還對(duì)知識(shí)進(jìn)行了擴(kuò)展。在本次實(shí)習(xí)時(shí),剛開(kāi)始完全沒(méi)有頭緒,不知道從何入手,感覺(jué)難度很大.但是逐漸開(kāi)始編寫程序慢慢發(fā)現(xiàn),原來(lái)不是想象中的那么難.在一個(gè)個(gè)模塊成功編寫出來(lái)的同時(shí),獲得了巨大的成就感,并且掌握的許多上課遺漏和不很了解的知識(shí).。對(duì)一些細(xì)節(jié)以前不太注意,常常忽略,真正操作起來(lái)時(shí)發(fā)現(xiàn)一些小問(wèn)題也會(huì)導(dǎo)致程序無(wú)法進(jìn)行。要想運(yùn)行正常,必須保證零錯(cuò)誤。 同時(shí),這兩周的實(shí)習(xí)使我對(duì)鏈表更熟悉了。以前總感覺(jué)鏈表很難,這次程序設(shè)計(jì)中,我用鏈表存取數(shù)據(jù),并進(jìn)行刪除修改等操作,慢慢對(duì)鏈表熟悉。另外,在程序運(yùn)行編譯的過(guò)程中出現(xiàn)一些錯(cuò)誤,需要耐心的去檢查錯(cuò)誤,調(diào)試程序。七、參考文獻(xiàn)C語(yǔ)言程序設(shè)計(jì) 譚浩強(qiáng) 清華大學(xué)出版社C語(yǔ)言程序設(shè)計(jì)教程 張毅坤 曹錳 張亞玲 西安交通大學(xué)出版社C語(yǔ)言程序設(shè)計(jì) 王曙燕 曹錳 科學(xué)出版社 #include #include #include #include #include #include #include #define LEN sizeof(struct student)typedef struct int year; int month; int day; DATE; struct student int num; char name10; char sex; DATE birthday; int math; int C; int physic; int English; float average; DATE time; char reason50; char result50; char unit50; struct student *next;struct student * read_file(); /*讀取文件*/void save_file(); /*保存*/void input(); /*創(chuàng)建鏈表,輸入數(shù)據(jù)*/void output(struct student *head); /*輸出*/void seek(struct student *h); /*查找*/void del() ; /*刪除*/void change (); /*修改*/void sort() ; /*對(duì)成績(jī)進(jìn)行排序*/void summarise(); /*對(duì)不及格成績(jī)進(jìn)行統(tǒng)計(jì)*/void free_linklist(void); /*釋放鏈表*/void print(struct student *p); /*輸出函數(shù)*/void menu(); /*菜單*/void password(); /*密碼*/struct student *head=NULL;int number=0;main() password(); getch(); system(cls); printf(nnnnnttt*歡迎進(jìn)入學(xué)生學(xué)籍管理系統(tǒng)*nnn); getch(); menu();void password() char s8,ch; int i; s0=0;s1=4; s2=0; s3=8 ; s4=2; s5=0; s6=4; s7=1 ; printf(nnnnnttt*nn); printf(ttt*nn); printf(ttt*nnnnn); do printf(ttttplease input password: nttttt); for(i=0;inum); fflush(stdin); scanf (%s,p1-name); fflush(stdin); scanf (%c,&p1-sex); fflush(stdin); scanf (%d%d%d,&p1-birthday.year,&p1-birthday.month,&p1-birthday.day); printf (score information:n); printf (math C physic Englishn); scanf (%d%d%d%d,&p1-math,&p1-C,&p1-physic,&p1-English); p1-average=(float)(p1-math+p1-C+p1-physic+p1-English)/4; printf( rewards and punishments:n); printf ( time(year month day )n); scanf (%d%d%d,&p1-time.year,&p1-time.month,&p1-time.day); printf (reason: ); fflush(stdin); scanf (%s,p1-reason); printf (result: ); fflush(stdin); scanf (%s,p1-result); printf (unit: ); fflush(stdin); scanf (%s,p1-unit); p1-next=NULL; number+; if(head=NULL) head=p1; else p2=head; while (p2-next ) p2=p2-next; p2-next=p1; getch();void output(struct student *head) /*輸出鏈表*/ struct student *p; int kind,flag=1; char choice=a; if (head=NULL) printf(Not Input before!n); getch(); return; while (flag) printf (students information input before as fowllow:n); printf (1:address; 2:score; 3:rewards and punishments 0:exitn); printf (please choice: ); scanf (%d,&kind); p=head; do switch(kind) case 1: printf (address information:n); printf (num name sex year month day n); printf (%d %s %c ,p-num,p-name,p-sex); printf ( %d %d %dn,p-birthday.year,p-birthday.month,p-birthday.day); break; case 2: printf (score information:n); printf (num name math C physic English averagn); printf (%d %s %d %d %d %d ,p-num ,p-name , p-math,p-C,p-physic,p-English); printf (%2.2fn,p-average); break; case 3: printf( rewards and punishments:); printf (num : %d name %s n,p-num,p-name); printf (time: year/%d month/%d day/%d n,p-time.year,p-time.month,p-time.day); printf(reason: %sn,p-reason); printf(result: %sn,p-result); printf (unit: %sn,p-unit); break; p=p-next; while(p); printf (continue to choice (y/n) ); fflush(stdin); choice=getchar(); if(choice=n) flag=0; printf(Display finish!n); getch();void seek(struct student *h) /*查找鏈表*/ struct student *p; int seeknum; printf (please input the num what you look for :); scanf (%d,&seeknum); p=h; while (p&seeknum!=p-num) p=p-next; if(!p) printf (the num you look for dont exist!n); else print(p); getch();void del () /*刪除鏈表*/ int delnum; struct student *p1,*p2; p1=head; printf(input delete num:n); scanf(%d,&delnum); while (delnum!=p1-num&p1-next!=NULL) p2=p1; p1=p1-next; if (delnum=p1-num) if (p1=head) head=p1-next; else p2-next=p1-next; printf (the students information you input have been deleted!n); number-; else printf (the student you what to delete dont exist!n); getch();void change() /*修改鏈表*/ int changenum,kind; int choice,flag=1; char select=1; struct student *p; p=head; while (flag!=0) printf (please input the num you want to change:n); scanf (%d,&changenum); while (changenum!=p-num) p=p-next; if (changenum=p-num) printf (input the new information:n); printf (1:address ; 2:score ;3: rewards and punishments; 0:exit;n); printf(input the kind you want to change:); fflush(stdin); scanf(%d,&kind); switch(kind) case 1: printf (1: name; 2:sex; 3:birthday;); printf (please choice :); fflush(stdin); scanf (%d,&choice); switch (choice) case 1: printf (input the new name:); fflush(stdin); scanf (%s,p-name); break; case 2: printf (input the new sex:); fflush(stdin); scanf(%c,&p-sex); break; case 3: printf (input the new birthday:); fflush(stdin); scanf(%d%d%d,&p-birthday.year,&p-birthday.month,&p-birthday.day); break; break; case 2: printf (1:math; 2:C; 3: physics; 4:English;); printf (please choice :); fflush(stdin); scanf (%d,&choice ); switch (choice) case 1: printf (input the new math:); fflush(stdin); scanf (%d,&p-math); break; case 2: printf (input the new C:); fflush(stdin); scanf (%d,&p-C); break; case 3: printf (input the new physic:); fflush(stdin); scanf (%d,&p-physic); break; case 4: printf (input the new English:); fflush(stdin); scanf (%d,&p-English); break; break; case 3: printf (1: time; 2:reson; 3: result; 4: unit;); printf (please choice:); fflush(stdin); scanf (%d,&choice); switch (choice) case 1: printf (input the new time:); fflush(stdin); scanf (%d%d%d,&p-time.year,&p-time.month,&p-time.day); break; case 2: printf (input the new reason:); fflush(stdin); scanf (%s,p-reason); break; case 3: printf ( input the new result :); fflush(stdin); scanf (%s,p-result); break; case 4: printf (input the new unit:); fflush(stdin); scanf (%s,p-unit); break; else printf (the num you want to change dont exist!n); printf( continue to change ?(y/n); fflush(stdin); select=getchar(); if(select=n) flag=0; else printf (continue!n); print(p); getch();void save_file() /*保存文件*/ FILE *fp; struct student *stu; char filename10; printf (input infile name:n); scanf (%s,filename); if (fp=fopen(filename,wb+)=NULL) printf (cannot open file!); exit(0); stu=head; do if(fwrite(stu,LEN,1,fp)!=1) printf (file write error!); stu=stu-next; while(stu); printf (the file has been kept!n); fclose (fp); getch();struct student * read_file() /*讀取文件*/ FILE *fp; char filename10; struct student *p,*head=NULL,*stu; printf (please input filename:n); scanf(%s,filename);
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年cfg樁工程地基加固與樁基建設(shè)全程監(jiān)理服務(wù)協(xié)議
- 2025年歐式風(fēng)格別墅裝修設(shè)計(jì)、施工及高端軟裝配套合同
- 2025年LED燈具全球市場(chǎng)拓展與供應(yīng)鏈整合服務(wù)合同
- 2025年環(huán)保型工業(yè)廠房產(chǎn)權(quán)交接與運(yùn)營(yíng)權(quán)轉(zhuǎn)讓合同
- 2025年幼兒園保育員資格審核與聘用管理服務(wù)合同
- 2025年專業(yè)定制化貨運(yùn)包車運(yùn)輸合同
- 2025年高端食品配送與倉(cāng)儲(chǔ)一體化采購(gòu)合同
- 2025年工業(yè)用地租賃承包經(jīng)營(yíng)權(quán)招標(biāo)代理服務(wù)合同范本
- 2025年科幻題材劇本委托創(chuàng)作及全球版權(quán)代理管理合同
- 2025年新型智慧社區(qū)停車場(chǎng)運(yùn)營(yíng)維護(hù)管理服務(wù)合同
- 多主體創(chuàng)新博弈-洞察及研究
- DB11∕T808-2024市政基礎(chǔ)設(shè)施工程資料管理規(guī)程
- 螺栓連接培訓(xùn)課件
- 與打印店簽訂合同協(xié)議
- 泰州內(nèi)河港市區(qū)港區(qū)海創(chuàng)物流園作業(yè)區(qū)六號(hào)碼頭一期改擴(kuò)建工程環(huán)評(píng)資料環(huán)境影響
- 2025年麻精藥品合理使用培訓(xùn)試題及答案
- 2024年09月湖北省農(nóng)村信用社聯(lián)合社網(wǎng)絡(luò)信息中心度招考35名勞務(wù)派遣科技專業(yè)人才筆試歷年參考題庫(kù)附帶答案詳解
- (高清版)DB34∕T 5154-2025 基于云制造的工業(yè)互聯(lián)網(wǎng)架構(gòu)要求
- 項(xiàng)目工程管理培訓(xùn)
- 2025至2030中國(guó)老年教育行業(yè)項(xiàng)目調(diào)研及市場(chǎng)前景預(yù)測(cè)評(píng)估報(bào)告
- 工程售后服務(wù)方案(3篇)
評(píng)論
0/150
提交評(píng)論