From 0218c678e13e1cb94a352c91733cea68467dc566 Mon Sep 17 00:00:00 2001 From: Angeld55 Date: Sun, 14 Feb 2021 23:06:35 +0200 Subject: start from scratch --- Polymorphism/MathExpression/Num.hpp | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 Polymorphism/MathExpression/Num.hpp (limited to 'Polymorphism/MathExpression/Num.hpp') diff --git a/Polymorphism/MathExpression/Num.hpp b/Polymorphism/MathExpression/Num.hpp deleted file mode 100644 index 91e1492..0000000 --- a/Polymorphism/MathExpression/Num.hpp +++ /dev/null @@ -1,26 +0,0 @@ -#pragma once - -#include "Expression.hpp" -class Num : public Expression -{ - int number; -public: - Num(int number) - { - this->number = number; - type = 1; - } - void Print() - { - std::cout << number; - } - int Evaluate() - { - return number; - } - int getNum() - { - return number; - } - -}; \ No newline at end of file -- cgit v1.3.1-23-gd82d