汽车管理系统设计图

立即使用

Class Car# name:string# price: float+ Car()+ Car(const string N,const float P)+ setname(const string N):void+ setprice(const float P):void+ getname():string+ getprice():floatClass Car1# name:string# price: float# color:string# int num:int# size:int+ Car1(const string N,const float P,const string C,const int Num,const int S)+ Car1()+ setname(const string N):void+ setprice(const float P):void+ getname():string+ getprice():float+ setcolor(const string C):void+ setnum(const int Num):void+ setsize(const int S):void+ getcolor():string+ getnum():int+ getsize():int+ ostream &operator <<(ostream&cout1,Car1&car):friend《public》Class CarList+ carList[20]:Car1+ carNum:int+ CarList()+ readFile():void+ writeFile():void+ insert(string N,float P,const string C,const int Num,const int S):void+ showCar(int i):void+ search(string N):void+ updata(int i,string N,float P,const string C,const int Num,const int S):void+ deleted(int i):void+ showCar_title():void+ showAll():void+ screen(float x,float y):void+ sort():void
98
0
2
发布时间: 2021-09-04