Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Object-oriented Programming / 09-Practice-19.04.2022 / Product.h
diff options
context:
space:
mode:
1 files changed, 11 insertions, 0 deletions
-rw-r--r--Year 1/Object-oriented Programming/09-Practice-19.04.2022/Product.h11
diff --git a/Year 1/Object-oriented Programming/09-Practice-19.04.2022/Product.h b/Year 1/Object-oriented Programming/09-Practice-19.04.2022/Product.h
new file mode 100644
index 0000000..5f5f4d7
--- /dev/null
+++ b/Year 1/Object-oriented Programming/09-Practice-19.04.2022/Product.h
@@ -0,0 +1,11 @@
+class Product {
+ char* name;
+
+public:
+ Product();
+ Product(const char* name);
+
+ ~Product();
+
+ const char* get_name() const;
+};