diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3613709..680a69b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -19,6 +19,7 @@ #include <sstream> #include <string> +#include <vector> #define MIN(A, B) ((A) < (B) ? (A) : (B)) #define MAX(A, B) ((A) > (B) ? (A) : (B)) @@ -73,6 +74,19 @@ struct Fraction } }; +struct Node +{ + Fraction value; + Node *left, *right; + + Node(Fraction val, Node *left = nullptr, Node *right = nullptr) + : value{val}, left{left}, right{right} + { + } +}; + +std::vector<Node> nodes; + int main(void) { puts("Hello, world!"); |