From 8cf1283a4ffb9fe1901c29c087fa376de82726af Mon Sep 17 00:00:00 2001 From: angeld55 Date: Sat, 19 Feb 2022 23:30:52 +0200 Subject: clean up --- Sem. 12/task1/Drinks/Drink.h | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 Sem. 12/task1/Drinks/Drink.h (limited to 'Sem. 12/task1/Drinks/Drink.h') 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 -- cgit v1.3.1-26-gb76a