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

正文內(nèi)容

使用c面向?qū)ο缶幊痰墓べY管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)畢業(yè)論文(編輯修改稿)

2025-07-25 12:54 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 與方法. 北京希望電腦公司,1990. [6]汪成為. 面向?qū)ο蠓治?、設(shè)計(jì)及應(yīng)用. 國(guó)防工業(yè)出版社,1992. [7]江明德. 面向?qū)ο蟪绦蛟O(shè)計(jì). 電子工業(yè)出版社,1993. [8]呂鳳翥.C++語(yǔ)言程序設(shè)計(jì).電子工業(yè)出版社,2022.16附錄:源代碼(帶注釋)includeincludeincludeinclude const int EMP=1000。//學(xué)院教工總?cè)藬?shù)(跟據(jù)需要可以放縮)************************void numbertochar(char*,double)。//定義基類教工類 employee******************************************************class employee{private:// 姓名 教工號(hào) 職位 性別 電話號(hào)碼************************char name[10],number[10],post[10],sex[10],telephone[15]。int age。//年齡*************************************************************double monthwages。//月工資*************************************************static long employees。//學(xué)院教工人數(shù)***************************************public:long getemployees(){return employees。}char*getnumber(){return number。}char*getname(){return name。}char*getpost(){return post。}char*getsex(){return sex。}char*gettelephone(){return telephone。}17int getage(){return age。}double getmonthwages(){return monthwages。}void setnumber(char temp[]){renumber: if(strlen(temp)15){cout輸入錯(cuò)誤(不能多余 15 個(gè)字母或 5 個(gè)漢字)!請(qǐng)重新輸入。\n。char temp1[15]。cout教 工 號(hào):\t。cintemp1。if(strlen(temp1)15)goto renumber。else strcpy(number,temp1)。}elsestrcpy(number,temp)。}void setname(char temp[]){renumber: if(strlen(temp)15){cout輸入錯(cuò)誤(不能多余 15 個(gè)字母或 5 個(gè)漢字)!請(qǐng)重新輸入。\n。char temp1[10]。cout姓 名:\t。cintemp1。if(strlen(temp1)15)goto renumber。else strcpy(name,temp1)。}elsestrcpy(name,temp)。employees++。}void setpost(char temp[]){renumber: if(strlen(temp)10)18{cout輸入錯(cuò)誤(不能多余十個(gè)字母或五個(gè)漢字)!請(qǐng)重新輸入。\n。char temp1[10]。cout職 位\t。cintemp1。if(strlen(temp1)10)goto renumber。else strcpy(post,temp1)。}elsestrcpy(post,temp)。}void setsex(){cout性別(男;女):。resex: char temp1[5]。cintemp1。if(strlen(temp1)==1){switch(temp1[0]){case 39。139。:strcpy(sex,男)。break。case 39。239。:strcpy(sex,女)。break。default:cout錯(cuò)誤(請(qǐng)選擇 1 或 2)。goto resex。}}else{cout錯(cuò)誤(請(qǐng)選擇 1 或 2)。goto resex。}}void settelephone(char temp[]){retelephone: if(strlen(temp)20){cout輸入錯(cuò)誤(不能多余二十個(gè)數(shù)字)!請(qǐng)重新輸入。\n。19char temp1[20]。cout電 話 號(hào) 碼:\t。cintemp1。if(strlen(temp1)20)goto retelephone。else strcpy(telephone,temp1)。}elsestrcpy(telephone,temp)。}void setage(int temp){renumber: if(temp=18||temp65){cout輸入錯(cuò)誤!請(qǐng)重新輸入。\n。int temp1。cout年 齡:\t。cintemp1。if(temp1=0||temp1120)goto renumber。else age=temp1。}elseage=temp。}void setmonthwages(double temp){monthwages=temp。}}。long employee::employees=0。//講師類的定義*****************************************************************class technician: public employee{protected:static int technicians。//用來(lái)記數(shù)講師的數(shù)量********************************public:int gettechnicians(){return technicians。} void setnumber(char temp[]){20technicians++。employee::setnumber(temp)。} void monthly_wages(double temp){setmonthwages(temp*100)。//講師的工資為課程量*課時(shí)
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)教案相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1