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

正文內(nèi)容

c++課程設(shè)計《商品銷售管理系統(tǒng)》-文庫吧

2024-10-24 06:56 本頁面


【正文】 計: class Commodity //商品類 { private: Data t[50]。 //數(shù)組 — 2— int n。 //商品數(shù)量 public: void newFile() //添加商品信息 void showData(int i) //顯示商品信息 void showData() //顯示文字信息 void save() //寫入數(shù)據(jù)至文件 int search() //商品查詢 void sale() //商品銷售結(jié)算 void showSale() //銷售清單 inline void menu() //主菜單 本程序結(jié)構(gòu) ( 1)主函數(shù) Void main(){ menu()。 Commodity 。 int c。 switch(c){return} Break。} (2)數(shù)據(jù)類 —— 實現(xiàn)對數(shù)據(jù)的輸入輸出。 (3)商品類 —— 系統(tǒng)各項功能的實現(xiàn)。 三、詳細設(shè)計 (1)數(shù)據(jù)類 class Data //數(shù)據(jù)類 { private: int id。//產(chǎn)品編號 char name[100]。//產(chǎn)品名稱 int count。//庫存數(shù)量 int salecount。//已售數(shù)量 float iprice。//進價 float oprice。//售價 char gys[20]。//供應(yīng)商 public: int getId() { return id。 } char *getName() { return name。 } int getCount() { — 3— return count。 } int getSaleCount() { return salecount。 } 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 setSaleCount(int s) { salecount=s。 } void setBuy(float i) { iprice=i。 } void setSale(float o) { oprice=o。 } — 4— //................... void setGys(char g[]) { strcpy(gys,g)。 } }。 (2)商品類 class Commodity //商品類 { private: Data t[50]。 //數(shù)組 int n。 //商品數(shù)量 public: void newFile()
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1