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

正文內(nèi)容

北郵c銀行門戶與電商平臺(tái)-資料下載頁

2025-06-28 10:22本頁面
  

【正文】 le(originalPrices,6,())。 fingoodremainders。 remainders=(8)。 remainder=std::atoi(())。 fingooddiscounts。 discount=StrToDouble(discounts,6,())。 book Book(name,description,originalPrice,remainder,discount)。 (Book)。 goodsnum。 } ()。 ifstream fincard(())。 string card。 string bankname。 int i=0。 while(fincardusername){ username=(8)。 for(int j=1。j=vAccount[i].getCardnum()。j++){ fincardcard。 card=(6)。 fincardbankname。 bankname=(6)。 bankcard Card(card,bankname)。 vAccount[i].(Card)。 } i++。 } ()。}void Platform::registerAccount(){ string username。 string password。 string temp。 string phonenum。 do{ cout用戶名:。 cinusername。 } while(check(username)amp。amp。cout該用戶名已被使用,請(qǐng)重新輸入!endl)。 do{ cout密碼:。 cinpassword。 cout再次確認(rèn)密碼:。 cintemp。 } while(password!=tempamp。amp。cout前后輸入密碼不一致,請(qǐng)重新輸入!)。 cout手機(jī)號(hào):。 cinphonenum。 vectoritem scart。 Account account(username,password,phonenum,scart,0)。 (account)。 cout注冊(cè)成功!。}bool Platform::check(string username){ for(unsigned int i=0。i()。i++){ if(username==vAccount[i].getUsername()) return true。 } return false。} bool Platform::loginAccount(){ string username。 string password。 unsigned int index。 int chance=0。 do{ if(chance0) cout您還有5chance次機(jī)會(huì)endl。 cout用戶名:。 cinusername。 cout密碼:。 cinpassword。 chance++。 if(chance==5) return false。 } while((index=match(username,password))=()amp。amp。cout用戶名或密碼輸入錯(cuò)誤,請(qǐng)重新輸入!)。 while(true){ cout ====================== vAccount[index].getUsername() 你好====================== endl。 cout ===================請(qǐng)選擇您的操作:================= endl。 cout ===================0:綁定銀行卡 ================= endl。 cout ===================1:查看現(xiàn)有商品 ================= endl。 cout ===================2:查看購物車并付款=============== endl。 cout ===================3:退出登錄 ================= endl。 cout ==================================================== endl endl。 cout 請(qǐng)選擇您的操作:。 int select。 string cardnum。 string cPassword。 string Select。 while(!(cin Select) || Select[0] 39。039。 || Select[0] 39。339。) cout 輸入錯(cuò)誤,請(qǐng)重新輸入: endl。 cout endl。 select=std::atoi(())。 switch(select) { case 0: cout請(qǐng)輸入您的銀行卡號(hào):。 cincardnum。 cout請(qǐng)輸入您的密碼:。 cincPassword。 Band(index,cardnum,cPassword)。 break。 case 1: checkgoods(index)。 break。 case 2: checkScart(index)。 break。 case 3: return true。 break。 default: break。 } }}int Platform::match(string username,string password){ unsigned int i=0。 for(。i()。i++){ if(vAccount[i].getUsername()==usernameamp。amp。vAccount[i].getPassword()==password) return i。 } return i。} void Platform::output(){ ofstream fout(())。 for(unsigned int i=0。i()。i++){ vAccount[i](fout)。 } ()。 ofstream foutgoods(())。 foutgoods食品類商品數(shù)量:()endl。 for(unsigned int i=0。i()。i++){ vFood[i](foutgoods)。 } foutgoods服裝類商品數(shù)量:()endl。 for(unsigned int i=0。i()。i++){ vClothing[i](foutgoods)。 } foutgoods圖書類商品數(shù)量:()endl。 for(unsigned int i=0。i()。i++){ vBook[i](foutgoods)。 } ofstream foutcard(())。 for(unsigned int i=0。i()。i++){ foutcard 用戶名:vAccount[i].getUsername()endl。 for( int j=0。jvAccount[i].getCardnum()。j++){ foutcard 卡號(hào):vAccount[i].vBank[j].getCardnum()。 foutcard 銀行:vAccount[i].vBank[j].getBankname()endl。 } } ()。}void Platform::checkgoods(int account){ cout==========食物類商品==========endl。 for(unsigned int i=0。i()。i++){ couti號(hào)商品endl。 cout名稱:vFood[i].getName()endl。 cout描述:vFood[i].getDescription()endl。 cout原價(jià):vFood[i].getOriginalPrice()endl。 cout剩余量:vFood[i].getRemainder()endl。 cout折扣:vFood[i].getDiscount()endl。 cout================================endl。 } cout==========服裝類商品==========endl。 for(unsigned int i=0。i()。i++){ couti號(hào)商品endl。 cout名稱:vClothing[i].getName()endl。 cout描述:vClothing[i].getDescription()endl。 cout原價(jià):vClothing[i].getOriginalPrice()endl。 cout剩余量:vClothing[i].getRemainder()endl。 cout折扣:vClothing[i].getDiscount()endl。 cout================================endl。 } cout==========圖書類商品==========endl。 for(unsigned int i=0。i()。i++){ couti號(hào)商品endl。 cout名稱:vBook[i].getName()endl。 cout描述:vBook[i].getDescription()endl。 cout原價(jià):vBook[i].getOriginalPrice()endl。 cout剩余量:vBook[i].getRemainder()endl。 cout折扣:vBook[i].getDiscount()endl。 cout================================endl。 } int select。 while(true){ cout ===================每筆訂單滿199減50================ endl。 cout ===================請(qǐng)選擇您的操作:================= endl。 cout ================1:添加商品到購物車 ============== endl。 cout ================2:返回上一級(jí)菜單 ============== endl。 cout ==================================================== endl。 cout 請(qǐng)選擇您的操作:。 string Select。 while(!(cin Select) || Select[0] 39。139。 || Select[0] 39。239。) cout 輸入錯(cuò)誤,請(qǐng)重新輸入: endl。 cout endl。 select=std::atoi(())。 cout endl。 string Choice。 switch (select) { case 1: cout請(qǐng)輸入您要添加的商品種類:(1:食品類,2:服裝類,3:圖書類)endl。 int choice。 while(!(cin Choice) || Choice[0] 39。139。 || Choice[0] 39。339。) cout 輸入錯(cuò)誤,請(qǐng)重新輸入: endl。 choice=std::atoi(())。 cout請(qǐng)輸入商品序號(hào):。 int index。 while(!(cin Choice) || Choice[0] 39。039。 || Choice[0] 39。239。) cout 輸入錯(cuò)誤,請(qǐng)重新輸入: endl。 index=std::atoi(())。 cout請(qǐng)輸入添加商品數(shù)量:。 int num。 do{ while(!(cin Choice) || Choice[0] 39。039。|| Choice[0] 39。939。) cout 輸入錯(cuò)誤,請(qǐng)重新輸入: endl。 num=std::atoi(())。 } while(num=0amp。amp。cout輸入錯(cuò)誤,請(qǐng)重
點(diǎn)擊復(fù)制文檔內(nèi)容
外語相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1