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

正文內(nèi)容

c課程設(shè)計(jì)商品管理系統(tǒng)(編輯修改稿)

2025-05-04 05:23 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 (5)信息輸出 endl。 cout (6)修改 endl。 cout (7)菜單 endl。 cout (0)退出系統(tǒng) endl。 cout ********************** endl。}主函數(shù)的設(shè)計(jì):int main() { menu1()。 int x。 cout 請(qǐng)選擇:。 cinx。 switch(x) { case 1: { menu2()。 Commodity 。 int c。 for(。) { cout 請(qǐng)選擇:。 cinc。 switch(c) { case 1:()。break。 case 2:()。break。 case 3:()。break。 case 4:。break。 case 5:()。break。 case 6:menu1()。break。 case 0:{ cout ***********謝謝使用********** endl。 cout *********!再見(jiàn)!********** endl。 } break。 } } } case 2: { menu3()。 gongyingshang gys。 int c。 for(。) { cout 請(qǐng)選擇:。 cinc。 switch(c) { case 1:()。break。 case 2:()。break。 case 3:()。break。 case 4:()。break。 case 5:()。break。 case 6:menu1()。break。 case 0:{ cout ***********謝謝使用********** endl。 cout *********!再見(jiàn)!********** endl。 } break。 } } } case 0:{ cout ***********謝謝使用********** endl。 cout *********!再見(jiàn)!********** endl。 } break。 } return 0。 }(4)調(diào)試分析:F:\程序\(226) : warning C4700: local variable 39。n39。 used without having been initializedF:\程序\(246) : warning C4700: local variable 39。c139。 used without having been initializedF:\程序\(348) : warning C4700: local variable 39。g139。 used without having been initializedC:\Documents and Settings\Administrator\桌面\(237) : error C2562: 39。search39。 : 39。void39。 function returning a value C:\Documents and Settings\Administrator\桌面\(228) : see declaration of 39。search39。C:\Documents and Settings\Administrator\桌面\(243) : error C2562: 39。search39。 : 39。void39。 function returning a value C:\Documents and Settings\Administrator\桌面\(228) : see declaration of 39。search’(5)用戶使用說(shuō)明手冊(cè):,即顯示對(duì)話形式的提示操作過(guò)程: 如第一個(gè)選擇1 商品選項(xiàng) ,即顯示 (1)添加 (2)保存 (3)刪除 (4)查找 (5)信息輸出(6)修改 (7)菜單 (0)退出系統(tǒng) 選擇1,即顯示商品編號(hào)、商品名、庫(kù)存量、進(jìn)價(jià)、售價(jià)、供應(yīng)商各項(xiàng)商品信息,一次輸入所添加的數(shù)據(jù)。添加完畢,按1退出添加;選擇2,即將商品信息保存;選擇3,刪除要?jiǎng)h除的商品信息;選擇4,查找商品信息;選擇5,信息的輸出;選擇6,修改信息選擇7,返回到菜單;選擇0,退出系統(tǒng)。如第一個(gè)選擇2,供應(yīng)商選項(xiàng) ,同樣顯示 (1)添加 (2)保存 (3)刪除 (4)查找 (5)信息輸出(6)修改 (7)菜單 (0)退出系統(tǒng) 選擇數(shù)據(jù)的功能跟上面一樣。第一個(gè)選擇0 退出系統(tǒng)。(6)測(cè)試數(shù)據(jù)進(jìn)入演示程序后,即顯示對(duì)話形式的提示操作過(guò)程:選擇:1 商品選項(xiàng)選擇:1 添加商品選擇:2 保存信息選擇:3 刪除信息選擇:4 查找信息選擇:5 信息輸出選擇:6 修改選擇:0 退出系統(tǒng)選擇:2 供應(yīng)商選項(xiàng)供應(yīng)商信息的各選項(xiàng)跟商品信息的選項(xiàng)一樣。4.課程設(shè)計(jì)成果程序源代碼includeincludeincludeinclude define Mfname 100include include include includeclass spData {private: char name[100]。 int count。 float iprice。 float oprice。 char gys[20]。public: int id。 int getId() { return id。 } char *getName() { return name。 } int getCount() { return count。 } float getBuy() { return iprice。 } float getSale() { return oprice。 } char *getGys() { return gys。 } void setId(int n) { id=n。 } void setName(char na[]) { strcpy(name,na)。 } void setCount(int c) { count=c。 } void setBuy(float i) { iprice=i。 } void setSale(float o) { oprice=o。 } void setGys(char g[]) { strcpy(gys,g)。 }}。class gysData{private: char name[100]。 int phone。public: int id。 int getid() { return id。 } char *getname() { return name。 } int getphone() { return phone。 } void setid() { cinid。 } void setname(char na[]) { strcpy(name,na)。 } void setphone() { cinphone。 } }。class Commodity {private: spData t[50]。 int n。public: void newFile() { int id。 int n。 char name[50]。 int count。 float iprice。 float oprice。 char
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1