diff options
| author | Connor McDowell <[email protected]> | 2024-02-08 14:12:28 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-02-08 14:12:28 -0800 |
| commit | 5dc32bd7bf9204c4113765f53d84a72ed415b71d (patch) | |
| tree | 4c7424cf2d8d5f58fac8ce025079c451901ea1fc /Inclass 10/program.cpp | |
| parent | program.cpp and header.h set up (diff) | |
| download | in-class-exercise-10-connormcdowell275-5dc32bd7bf9204c4113765f53d84a72ed415b71d.tar.xz in-class-exercise-10-connormcdowell275-5dc32bd7bf9204c4113765f53d84a72ed415b71d.zip | |
files and functions set up
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 |