1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#include "Product.h" #include "Order.h" class Restaurant { char name[25]; Product* products; int productsCount; int indexOf(const Product& prod); public: Restaurant(); Restaurant(const char* name); void addProduct(Product prod); unsigned int giveOrder(Order order); const char* get_name() const; };