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

正文內(nèi)容

服裝銷售管理系統(tǒng)—c語言課程設(shè)計(留存版)

2025-09-19 07:39上一頁面

下一頁面
  

【正文】 printf(商品信息修改成功!\n)。 pProductHead = NULL。 char productName[20]。 system(pause)。 } tmpProduct = tmpProductnext。 //商品編號,主鍵 char productName[20]。 //銷售的附加信息 struct SellInfoRecord *next。 //系統(tǒng)管理員操作菜單void BossOperationMenu()。 //報表顯示 void ShowAllSellReport()。 = NULL。 fprintf(fp, %s\t%s, , )。 //products[1].productId = 2。 sellInfo[0].productId = 1。}。tempSystemUsernext = pSystemUser。 pProductproductCount = pProproductCount。 return FUNCTION_FAILED。/*系統(tǒng)登陸函數(shù)*/void SystemLogin() { char userName[20],password[20]。 break。 printf( 店長功能:\n)。 printf( (1)自身密碼修改\n)。 continue。 printf(請輸入上面功能對應(yīng)的序號進(jìn)行功能選擇:)。//銷售員界面void SellOperationMenu() { int select。 case 3: ProductsSell()。 printf(請再次輸入你的新密碼:)。 printf( (3)用戶信息修改\n)。 break。 printf(商品價格: %f\n,tmpProductproductPrice)。)。 = NULL。 printf( (7)退出登陸系統(tǒng)\n)。 case BOSS_USER_TYPE: BossOperationMenu()。 printf(親愛的%s朋友,你好,請依次輸入新商品的信息:\n,currentUser)。 case 5: DeleteProduct()。 printf( (3)商品信息添加\n)。 scanf(%d,amp。 scanf(%d,amp。 printf(商品編號: %d\n,tmpProductproductId)。 continue。 while(1) { system(cls)。 SystemUser *tmpUser。 switch(select) { case 1: ProductsView()。 break。 printf( (2)商品信息管理:添加,修改,查詢,刪除\n)。 continue。}。printf( (3)商品信息管理:添加,修改,查詢,刪除\n)。 break。 } else { while(NULL != tmpSellInfonext) tmpSellInfo = tmpSellInfonext。 //生成編號,最后一個銷售編號+1 while(NULL != tmpSellInfo) { newSellInfoId = tmpSellInfosaleId + 1。 //拷貝商品信息 strcpy(pProductproductName,pProproductName)。 pSystemUsernext = pUsernext。 AddSellInfo(amp。 sellInfo[0].day = 16。 products[0].productPrice = 。 strcpy(,sell)。 //初始化兩件服裝商品信息 SellInfoRecord sellInfo[2]。 //輸入商品信息并添加 void ModifyProduct()。void UserExit()。 //銷售數(shù)量 int year。 //用戶密碼 int userType。 printf( 商品數(shù)量: %d\n,tmpProductproductCount)。printf( 商品廠家: %s\n,tmpProductproductCompany)。 } }printf(對不起,不存在該商品編號的信息!)。 //tmpProductB指向要刪除的記錄,tmpProductA指向前一條記錄 if(NULL == tmpProductB) return 。 scanf(%d,amp。 printf( 商品型號: %s\n,tmpProductproductType)。 scanf(%s,)。}。 sellInfo[0].productId = 1。products[0].next = NULL。 = NULL。 //銷售商品年份 int month。 //用戶類型(1:管理員;2:店長;3:銷售員) struct SystemUser *next。 //指向下一個用戶的指針} SystemUser。 //銷售商品月份 int day。//,寫入信息,并關(guān)閉文件 fp = fopen(, w)。//添加第二條商品信息 strcpy(products[1].productName,時尚女裝)。 sellInfo[0].sellCount = 8。//添加商品信息void InputAndAddProduct() { Products product。 = NULL。 printf( 商品廠家: %s\n,tmpProductproductCompany)。tmpProductproductCount)。 while(NULL != tmpProductB){ if(tmpProductBproductId == productId) { if(tmpProductB == pProductHead amp。}。printf( 商品價格: %f\n,tmpProductproductPrice)。 printf( 商品附加信息: %s\n,tmpProductmemo)。 //用戶類型(1:管理員;2:店長;3:銷售員) struct SystemUser *next。 //銷售商品年份 int month。void WeleMenu()。 //修改商品信息 void DeleteProduct()。 //初始化兩條銷售記錄 //管理員 strcpy(,admin)。 = SELL_USER_TYPE。 products[0].productCount = 100。 strcpy(sellInfo[0].memo,測試數(shù)據(jù)1)。sellInfo[0])。 tempSystemUser = pSystemUserHead。 strcpy(pProductproductType,pProproductType)。 tmpSellInfo = tmpSellInfonext。 tmpSellInfonext = pSellInfoRecord。 case BOSS_USER_TYPE: BossOperationMenu()。printf( (4)銷售報表顯示:日銷售報表,月銷售報表,銷售員銷售報表\n)。//管理員界面void AdminOperationMenu() { int select。 case 3: ProductsManage()。 printf( (3)銷售報表顯示:日報表,月報表,商品銷售量報表,銷售員業(yè)績報表\n)。 default: break。 continue。 printf(*********************************************************\n)。 printf(親愛的管理員%s同志,你目前進(jìn)入的是用戶信息管理功能:\n,currentUser)。 case 4: UserInfoDelete()。 printf(商品名稱: %s\n,tmpProductproductName)。)。)。 printf( (4)商品信息修改\n)。 continue。 printf(商品名稱:)。 break。 printf( (6)返回上級菜單\n)。 scanf(%s,)。 scanf(%d,amp。 printf(商品廠家: %s\n,tmpProductproductCompany)。 case 5: AdminOperationMenu()。 printf( (2)用戶信息添加\n)。 scanf(%s,newPassword1)。 continue。 }}。 printf( (5)退出系統(tǒng)\n)。 case 4: ReportPrint()。 printf(親愛的管理員%s同志,歡迎使用本系統(tǒng),你擁有下面所有功能:\n,currentUser)。 printf( (6)退出系統(tǒng)\n)。 case SELL_USER_TYPE: SellOperationMenu()。}。 if(NULL == pSellInfoRecord) { printf(對不起,添加銷售記錄信息時,堆內(nèi)存分配失敗!)。 pProductproductPrice = pProproductPrice。 } else { while(NULL != tempSystemUsernext) //遍歷到用戶信息的最后一條記錄 tempSystemUser = tempSystemUsernext。sellInfo[1])。 sellInfo[0].next = NULL。 products[0].next = NULL。 fp = fopen(, w)。 = ADMIN_USER_TYPE。 //商品銷售void ReportPrint()。
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1