Add project files.

This commit is contained in:
Daniel
2023-04-21 23:06:09 +03:00
parent bf4d30f7c8
commit 93c7cb0b3b
10 changed files with 708 additions and 0 deletions

14
Lab/operations.h Normal file
View File

@@ -0,0 +1,14 @@
#include <vector>
#include <string>
#include <algorithm>
#include "triple.h"
class operations {
public:
triple add(triple& a, triple& b) ;
triple subtract(triple& a, triple& b);
triple multiply(triple& a, triple& b);
triple divide(triple& a, triple& b);
friend triple operator+(triple& a, triple& b);
friend triple operator-(triple& a, triple& b);
};