1 2 3 4 5 6 7 8 9 10 11
class Product { char* name; public: Product(); Product(const char* name); ~Product(); const char* get_name() const; };