xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 1.04MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-01
  • 語言: C/C++
  • 標簽: 123??

資源簡介

看看,大三的時候寫的!不完善!希望對大家有用!

資源截圖

代碼片段和文件信息

#include
#include
#include
#include
#include
#include
#define?null?0
#include?“res.h“

using?namespace?std;



int?inum(int?t)//對日期是否正確判斷
{
string?str;
cout<<“訂桌日期::“;
cin>>t;
while?(t<10000000||t>99999999)
{
if?(cin.fail())
{
cin.clear();
????cin?>>?str;
}
????????else?
{
????????????cout<<“你的輸入有誤,請重新入.“<????????????cout<<“請輸入訂桌日期:“;
????????????cin>>t;
}
}?
return(t);
}

////////////////////////////////////////////////////////////////////////////////////////

void?input(Listnode?*p)//錄入信息
{
cout<<“請訂桌人姓名:“;
????cin>>p->name;
????cout<<“是否預付款(Y:是,N:否):“;
????cin>>p->pay;
????while(p->pay!=“Y“&&p->pay!=“N“)
{
cout<<“你的輸入有誤請重新輸入.“<提示:只能是Y(是)或N(否).“<????????cout<<“是否預付款:“;
????????cin>>p->pay;
}

????cout<<“請輸入每桌人數:“;
????cin>>p->p_num;
????while(p->p_num<0||p->p_num>100)
{
????????cout<<“你的輸入有誤,請重新輸入.“<提示:每桌人數為1-12.“<????????cout<<“請輸入每桌人數:“;
????????cin>>p->p_num;
}

????cout<<“請輸入就餐時間:“;
????cin>>p->d_time;
????while(p->d_time<0||p->d_time>100)
{
????????cout<<“你的輸入有誤,請重新輸入.“<提示:就餐時間為中午10點到12點,晚上5點到8點.“<????????cout<<“請輸入就餐時間:“;
????????cin>>p->d_time;
}
}

////////////////////////////////////////////////////////////////////////////////////

void?minput(Listnode?*p)//修改信息時的重新錄入
{
cout<<“請輸入新的姓名(原來是“<name<<“):“;
????cin>>p->name;
????cout<<“是否預付款(原來是“<pay<<“):“;
????cin>>p->pay;
????while(p->pay!=“Y“&&p->pay!=“N“)
{
cout<<“你的輸入有誤請重新輸入.“<提示:只能是Y(是)或N(否).“<????????cout<<“是否預付款:“;
????????cin>>p->pay;
}

????cout<<“請輸入新的每桌人數(原來是“<p_num<<“):“;
????cin>>p->p_num;
????while(p->p_num<0||p->p_num>100)
{
????????cout<<“你的輸入有誤,請重新輸入.“<提示:每桌人數為1-12.“<????????cout<<“請輸入新的每桌人數:“;
????????cin>>p->p_num;
}

????cout<<“請輸入新的就餐時間(原來是“<d_time<<“):“;
????cin>>p->d_time;
????while(p->d_time<0||p->d_time>100)
{
????????cout<<“你的輸入有誤,請重新輸入.“<提示:就餐時間為中午10點到12點,晚上5點到8點.“<????????cout<<“請輸入新的就餐時間:“;
????????cin>>p->d_time;
}
cout<<“請輸入新的金額(原來是“<t_money<<“):“;
????cin>>p->t_money;
????while(p->t_money<0||p->t_money>10000)
{
????????
????????cin>>p->t_money;
}
}

//////////////////////////////////////////////////////////////////////////////////////

Listnode?*Listnode::show_menu(Listnode?*p)//輸出信息
{
?Listnode?*h;
?h=p;
?if(h==null)//鏈表為空
??{
???cout<<“系統里沒有資料記錄.“<??}
?else?
?{?
??cout<<“?訂桌時間“<??while(p->next!=null)
???{
????cout<num<name<pay<p_num<d_time<t_money<????p=p->next;
???}
??if(p->next==null)
???{
????cout<num<name<pay<p_num<d_tim

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????409623??2010-01-11?21:40??餐廳管理系統\Debug\main.obj

?????文件?????215347??2010-01-11?21:40??餐廳管理系統\Debug\mian2.obj

?????文件??????91136??2010-01-11?21:43??餐廳管理系統\Debug\vc60.idb

?????文件?????118784??2010-01-11?21:40??餐廳管理系統\Debug\vc60.pdb

?????文件?????614474??2010-01-11?21:40??餐廳管理系統\Debug\餐廳管理系統.exe

?????文件?????882324??2010-01-11?21:40??餐廳管理系統\Debug\餐廳管理系統.ilk

????I.A....???2210348??2010-01-09?22:46??餐廳管理系統\Debug\餐廳管理系統.pch

?????文件????1385472??2010-01-11?21:40??餐廳管理系統\Debug\餐廳管理系統.pdb

?????文件??????11716??2010-01-11?21:39??餐廳管理系統\main.cpp

?????文件???????3054??2010-01-10?14:22??餐廳管理系統\mian2.cpp

?????文件????????760??2010-01-11?21:40??餐廳管理系統\res.h

?????文件?????????53??2010-01-10?17:54??餐廳管理系統\student.txt

?????文件???????4468??2010-01-09?22:58??餐廳管理系統\餐廳管理系統.dsp

?????文件????????532??2010-01-09?22:33??餐廳管理系統\餐廳管理系統.dsw

?????文件??????50176??2010-01-11?21:49??餐廳管理系統\餐廳管理系統.ncb

?????文件??????48640??2010-01-11?21:49??餐廳管理系統\餐廳管理系統.opt

?????文件???????1385??2010-01-11?21:40??餐廳管理系統\餐廳管理系統.plg

?????目錄??????????0??2010-01-11?21:40??餐廳管理系統\Debug

?????目錄??????????0??2010-01-11?21:49??餐廳管理系統

-----------?---------??----------?-----??----

??????????????6048292????????????????????19


評論

共有 條評論