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

正文內(nèi)容

簡單學生信息管理系統(tǒng)c范文(留存版)

2024-11-04 12:28上一頁面

下一頁面
  

【正文】 st *pp。cinch。default:cout}break。}fileWrite(head,fin)。int teaYear。psn=new empoyee(ag,nm,sx,slr)。p1[i]amp。int m。coutcinag。coutcinteaYear。if(pnext){=pareStr(nm,pnextplname)。char tp。persons*psn。coutm。:type=3。}chainList *s=new chainList(type,psn)。amp。//讓p永遠指向插入位置前一個位置。if(i0)//年齡大的插到用于比較的節(jié)點前面{chainList*s。}p=pnext。} }void printStaticInfo(chainList*list){ int count,countS,countT,countE,countMale,countFemale。} cout部分截圖開始NY輸入姓名或?qū)W號開始NY輸入姓名或?qū)W號N打開文件打開文件Y輸出信息(name==sign)||(number==sign))Y刪除信息(name==sign)||(number==sign))N返回主菜單返回主菜單心得體會:通過本次課程設計懂得了,學習計算機語言知識,要不斷實踐,不斷學習新的內(nèi)容,特別是課堂中沒有涉及的內(nèi)容要自主的去學習并學會運用。class Telem //個人信息 {public:char name[20]。}。virtual void Addall()。=6。(“”,ios::in|ios::binary)。coutlength++。((char*)amp。length。((char*)amp。}cindata[length]。if(ilength)coutfor(j=i。cout(,20,39。y=(m=1amp。int c=0,k=0,l=0,i=0。if(1==k){coutptDisplaypart(part)。}default:cout}}return 0。int Employeeage。void RefreshInfo()。static float EmployeeBasePay。coutcinEmployee::Employeeage。amp。amp。Edegree[MaxNum] = Employee::Employeedegree。(choice2)。i{if(Edepart[i] == depart){long number = Enum[i]。for(i=0。MN = Employee::MaxNum()。Employee::Employeedegree!=3amp。amp。Employee::Employeeposition!=5){coutcoutcinEmployee::Employeeposition。for(int i=0。MN = ()。Edepart[i] = DBOperate::Employeedepart。DBOperate dbo。return 0。}int main()//主函數(shù){system(“color B0”)。Esex[i] = DBOperate::Employeesex。}void DBOperate::WriteIn(int iflag)//數(shù)據(jù)操作函數(shù)—寫入{DBOperate::RefreshMaxNum(iflag)。cout: ”。Employee::Employeeposition!=3amp。amp。while(Employee::Employeedegree!=1amp。()。Eage[i]{long number = Enum[i]。i{number = Enum[i]。case 2: coutcinchoice2。Ename[MaxNum] = Employee::Employeename。}coutcoutcinEmployee::Employeeposition。amp。return MN。int Employeedegree。void showdepart(int depart)。float Epay[N]。}elsecout}elsecoutbreak。}case 3:{coutptDisplay()。People *pt=amp。)。)。}if(kfor(j=k。}void Teacher::Add(){int flag=0。int flag=0。length。if(length==maxsize){flag=1。do{cindata[length]。if(ilength)coutfor(j=i。}。Time now。friend ostreamamp。//文件指針class Time //時間類 {public:int year。break。//刪除,然后插到前面snext=pnext。ssnext=pnext。q=pnext。}if(i==0)//字母順序相同的插到后面{chainList*ss。} void orderList(chainList *list){ chainList *p,*q。cout}while(pnextamp。psn=new teacher(ag,nm,sx,sb,teaYear)。coutsx。int average。} void editList(chainList *list,char *name)//刪除,添加就是編輯。default:type=6。coutcinnm。case 39。int slr。} int aa=0。ffteaYear。int g。ofstream fin。339。}elsecoutbreak。cout} } break。:addList(head)。if(sn==39。ff)。首先由用戶輸入要修改的學生的學號,然后系統(tǒng)用修改函數(shù)查找,顯示該名學生的資料,然后系統(tǒng)提示用戶輸入需要修改的項目和新的資料。break。string name。t++。int p,m。for(j=0。stu[i].set_student(banji,num,name,sex,score1,score2)。sex=s。double score1,score2。int x。p{k=p。double sum2。sum2=stu[m].get_score2()。}}}//按學號修改學生信息//void xiugai(){int j。int flag。case 6:n=100。八、參考資料《C++語言程序設計教程》網(wǎng)上相關資料(....略)第三篇:c++學校人員信息管理系統(tǒng)++課程設計題目:《學校人員信息管理系統(tǒng)》用c++設計一個大學教師和學生管理程序,教師包括編號(a),姓名(c),職稱(d)和教研室數(shù)據(jù)(b)的數(shù)據(jù)輸入輸出。//按照性別排列,女士優(yōu)先 void printStaticInfo(chainList*list)。char ctn。//Make sure whether you want to delete the datasure=39。case 39。break。default:cout}}while(ctn!=39。} char nm[20]。ffnm。fftp。elsereturn1。int aa=1。coutcinm。:type=3。}chainList *s=new chainList(type,psn)。char sx。type=0。239。psn=new empoyee(ag,nm,sx,slr)。int 。if(i0)//字母順序小的插在前面{chainList*s。}p=pnext。p=s。} } void orderListBySex(chainList *list)//按性別排序,插入排序 { chainList*p,*q。if(pplsex==39。發(fā)現(xiàn)問題,提出問題,解決問題使我們從不足之處出發(fā),尋找新的方向。Time worktime。virtual void Display()。}。iif(strcmp(data[i].wage,p)==0){coutwhile(cinc){switch(c){case 1: coutcase 2: coutcase 3: coutcase 4: coutcase 5: coutcase 6: coutcase 7: coutcase 8: coutcase 9: goto loop。if(length==maxsize){flag=1。y39。for(i=0。elsebreak。}coutcinans。loop:if(1==flag)cout()。 input,Telemamp。amp。}ostreamamp。switch(c){case 1:{coutcoutptAddall()。if(1==l){coutptFindname(nam)。char Esex[N]。int Employeeworktime。class DBOperate {public:string Employeename。long Employee::EmployeeMaxNum = 1000。Employee::Employeedegree!=2amp。Employee::Employeedepart!=4amp。Employee::Employeeposition!=5){coutcoutcinEmployee::Employeeposition。(1)。break。i{if(Edegree[i] == degree){long number = Enum[i]。)coutcoutcoutif(Emarriage[i]==39。coutcinEmployee::Employeesex。amp。Employee::Employeedepart!=7){coutcoutcinEmployee::Employeedepart。break。){if(i==MN1)(1)。Employee e。}void DBOperate::RefreshMaxNum(int iflag)//更新系統(tǒng)中員工計數(shù)文件的函數(shù){int MaxNum = 0。break。break。myifMaxNum。MN = ()。j{ Enum[j] = Enum[j+1]。}void Employee::DeleteInfo()//刪除職工數(shù)據(jù)的函數(shù){char tmp。coutcoutcinEmployee::Employeeposition。}Edegree[i] = Employee::Employeedegree。coutcinEmployee::Employeeage。)coutelse if(Emarriage[i]==39。} else continue。(searchnum)。long searchnum。Employee::Employeepay = Employee::Pay(Employee::Employeeposition)。Employee::Employeedepart!=5amp。Employee::Employeedegree!=3amp。int Employee::MaxNum()//返回系統(tǒng)已經(jīng)存儲的人數(shù){int MN = 0。char Employeesex。static long EmployeeMaxNum。char Emarriage[N]。ptFindyear(i)。break。}int operator(Tim
點擊復制文檔內(nèi)容
試題試卷相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1