湘菜图片大集合

爆炒肥肠

长沙臭豆腐

炒腊大肠

臭豆腐焖排骨

剁椒鱼头

干锅田鸡

干锅土匪鸭

红油牛肉

浇汁鹅掌

口味田螺

口味虾

口味蟹

米粉

牛杆菌炖鸡米豆腐炒鸡杂

泡菜鱼

皮蛋炒辣椒

啤酒鸭

片鳝

青椒炒河虾

手撕土鸡

元椒皮蛋

竹筒排骨

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 27
    评论
以下是一个简单的餐饮商家信息管理代码,使用C++语言编写: ```c++ #include <iostream> #include <string> using namespace std; class Restaurant { private: int id; string name; string openTime; int smallRoomNum; int mediumRoomNum; int largeRoomNum; string address; string transportation; string cuisineType; string businessHours; bool hasPerformance; double averagePrice; string legalPerson; string idCard; string note; public: Restaurant(int id, string name, string openTime, int smallRoomNum, int mediumRoomNum, int largeRoomNum, string address, string transportation, string cuisineType, string businessHours, bool hasPerformance, double averagePrice, string legalPerson, string idCard, string note) { this->id = id; this->name = name; this->openTime = openTime; this->smallRoomNum = smallRoomNum; this->mediumRoomNum = mediumRoomNum; this->largeRoomNum = largeRoomNum; this->address = address; this->transportation = transportation; this->cuisineType = cuisineType; this->businessHours = businessHours; this->hasPerformance = hasPerformance; this->averagePrice = averagePrice; this->legalPerson = legalPerson; this->idCard = idCard; this->note = note; } void displayInfo() { cout << "餐厅编号:" << id << endl; cout << "餐厅名称:" << name << endl; cout << "开业时间:" << openTime << endl; cout << "包间种类:" << endl; cout << "10人以下就餐:" << smallRoomNum << " 个" << endl; cout << "10-20人就餐:" << mediumRoomNum << " 个" << endl; cout << "30人以上就餐:" << largeRoomNum << " 个" << endl; cout << "详细地址:" << address << endl; cout << "交通情况:" << transportation << endl; cout << "餐饮种类:" << cuisineType << endl; cout << "营业时间:" << businessHours << endl; cout << "有无演艺表演:" << (hasPerformance ? "是" : "否") << endl; cout << "平均消费价位:" << averagePrice << " 元/人" << endl; cout << "餐厅法人:" << legalPerson << endl; cout << "餐厅法人身份证号:" << idCard << endl; cout << "备注:" << note << endl; } }; int main() { Restaurant res(1, "XXX餐厅", "2021年5月1日", 3, 2, 1, "广州市天河区XXX路XXX号", "地铁2号线XXX站A出口", "湘菜、川菜、粤菜", "周一至周日 10:00-22:00", true, 50.0, "张三", "440123********1234", "欢迎光临!"); res.displayInfo(); return 0; } ``` 该代码通过定义餐厅类Restaurant,包含了所需的所有属性,并提供了显示餐厅信息的函数displayInfo。在主函数中创建一个餐厅对象并调用displayInfo函数进行信息展示。可以根据需要扩展该类的功能实现更复杂的餐饮商家信息管理系统。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 27
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值