房屋中介管理系统简易源代码_第1页
房屋中介管理系统简易源代码_第2页
房屋中介管理系统简易源代码_第3页
房屋中介管理系统简易源代码_第4页
房屋中介管理系统简易源代码_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、房屋中介管理系统简易源代码房屋中介管理系统简易源代码房屋中介管理系统简易源代码房屋中介管理系统简易源代码编制仅供参考审核批准生效日期地址: 电话:传真: 邮编:et (name,place,type,direction,equip,area,price);i+;();ofstream output;(,ios:out);for(i=0;ihsize-flag;i+)ai.print();();fstream osize; (,ios:out);osizehsize-flag; ();void House:alter()cout输入你需要更新的物业名字即endl;House:del();cout

2、输入更新后房屋信息endl;House:add ();void House:select()string hname;fstream inout;cout输入你要查询的物业名称hname; (,ios:in);while(! ()inoutnameplacetypedirectionequipareaprice;if(name=hname)cout物业名称nameendl; cout房屋地段placeendl; cout房屋户型typeendl; cout房屋朝向directionendl; cout房屋设施equipendl; cout房屋面积areaendl; cout房屋价格pricee

3、ndl;else continue; ();et (cname,tel);i+;();ofstream output;(,ios:out);for(i=0;icsize-flag;i+)bi.print();();fstream osize; (,ios:out);osizecsize-flag; ();void Customer:alter()cout输入你需要更新的客户名字即endl;Customer:del();cout输入更新后客户信息endl;Customer:add ();void Customer:select()string find;fstream inout;cout输入你

4、要查询的客户名称find; (,ios:in);while(! ()inoutcnametel;if(cname=find)cout客户姓名cnameendl; cout客户联系方式telsize; (); cout房屋总数为:sizesize; (); cout顾客的总数为:sizeflag1;if(flag1=1)flag2= ();/用户登录while(flag2=0)coutttt您登录失败。endl;coutttt3退出系统endl;coutttt其他数字重新登录endl;coutttt请选择:i;if(i=3)return 0;flag2= ();else if(flag1=2)

5、();/新用户注册cout你将退出系统,如需其他操作请重新登录系统endl;return 0;else cout输入有误endl;return 0;system(cls);cout恭喜您登录成功!endl;coutsetw(40)(主菜单)请选择操作类型:endl;coutttt1表示房屋信/客户息查询;endl;coutttt2表示房屋/顾客信息进行增删改;endl;coutttt3表示进行相关信息统计flag3;switch(flag3)case 1:system(cls);cout欢迎进入信息查询系统endl;coutsetw(40)输入查询的方面:endl;coutttt1表示房屋en

6、dl;coutttt2表示顾客flag4;if(flag4=1)House H; ();else if(flag4=2)Customer C; ();else cout输入错误!endl;break;case 2:coutsetw(35)选择操作:endl;coutttt1表示对房屋操作endl;coutttt2表示对顾客操作flag5;coutsetw(37)输入操作类型:endl;coutttt1表示信息增加endl;coutttt2表示修改信息endl;coutttt3表示删除信息flag6;if(flag5=1)House H1;if(flag6=1) ();else if (flag6=2) ();else if(flag6=3) ();else cout输入错误!endl;else if(flag5=2)Customer C1;if(flag6=1) ();else if (flag6=2) ();else if(flag6=3) ();else cout输入错误!endl;else cout输入错误!endl;break;case 3:system(cls);tj T;coutttt1表示对房屋总数进行统计endl;coutttt2表示对顾客总数统计flag7;s

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论