diff options
Diffstat (limited to 'Inclass 10/program.cpp')
| -rw-r--r-- | Inclass 10/program.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Inclass 10/program.cpp b/Inclass 10/program.cpp index 3cbe4b4..d3f8005 100644 --- a/Inclass 10/program.cpp +++ b/Inclass 10/program.cpp @@ -5,6 +5,7 @@ #include <iostream> #include "Header.h" +#include "Node.h" using std::cin; using std::cout; @@ -12,7 +13,20 @@ using std::endl; int main() { + Node firstNode{}; + Node secondNode{}; + Node thirdNode{}; + firstNode._data = 24; + secondNode._data = 16; + thirdNode._data = 4; + + + Swap(&firstNode, &secondNode); + + Standardize_101(&thirdNode); + + Square(&thirdNode); return 0; }
\ No newline at end of file |