Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 12 / task1 / Drinks / Drink.h
diff options
context:
space:
mode:
1 files changed, 0 insertions, 27 deletions
-rw-r--r--Sem. 12/task1/Drinks/Drink.h27
diff --git a/Sem. 12/task1/Drinks/Drink.h b/Sem. 12/task1/Drinks/Drink.h
deleted file mode 100644
index d4d37ae..0000000
--- a/Sem. 12/task1/Drinks/Drink.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#pragma once
-
-class Drink
-{
-public:
- Drink();
-
- Drink(const char* name, int ml);
-
- Drink(const Drink& other);
- Drink& operator=(const Drink& other);
- ~Drink();
-
- const char* getName() const;
- int getMl() const;
-
- void setName(const char* name);
- void setMl(int ml);
-
-private:
- char* name;
- int ml;
-
- void copyFrom(const Drink& other);
- void free();
-
-}; \ No newline at end of file