First version

This commit is contained in:
2022-04-11 16:34:58 +03:00
committed by GitHub
parent 9d81fc50ca
commit ffaa619ec0
3 changed files with 400 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
#ifndef __calc__Wagon__
#define __calc__Wagon__
#include <stdio.h>
#define END_OF_ZUG '|'
class Wagon
{
private:
double number;
char operation;
public:
Wagon();
Wagon(double number);
Wagon(char operation);
double getNumber();
char getOperation();
void setNumber(double number);
void setOperation(char operation);
bool isNumber();
bool isOperation();
bool isUnary();
bool isEnd();
};
#endif