Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef PRODUCT
- #define PRODUCT
- #include <string>
- struct Product {
- public:
- std::string type;
- double price;
- Product();
- Product(std::string type, double price);
- std::string GetType() const;
- friend bool operator==(const Product& a, const Product& b) {
- return true;
- }
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement