aboutsummaryrefslogtreecommitdiff
path: root/Inclass 10/program.cpp
diff options
context:
space:
mode:
authorConnor McDowell <[email protected]>2024-02-08 16:10:40 -0800
committerConnor McDowell <[email protected]>2024-02-08 16:10:40 -0800
commit624653ec3923df0314b22d1793e456ca19ccc810 (patch)
tree7b4e8e2a4c21602824af8b26d618d00816d8c396 /Inclass 10/program.cpp
parenti literally have NO idea what to do. all i get is the addresses when the assi... (diff)
downloadin-class-exercise-10-connormcdowell275-624653ec3923df0314b22d1793e456ca19ccc810.tar.xz
in-class-exercise-10-connormcdowell275-624653ec3923df0314b22d1793e456ca19ccc810.zip
OHMYGOD I FIGURED IT OUT
Diffstat (limited to 'Inclass 10/program.cpp')
-rw-r--r--Inclass 10/program.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Inclass 10/program.cpp b/Inclass 10/program.cpp
index 59231d5..ce6fc87 100644
--- a/Inclass 10/program.cpp
+++ b/Inclass 10/program.cpp
@@ -27,8 +27,12 @@ int main()
Swap(&newNode, &nextNode);
+ cout << "first node swapped is: " << newNode.data << " the second node swapped is : " << nextNode.data << endl;
+
Standardize_101(&newNode);
+ cout << newNode.data << endl;
+
Square(&nextNode);
return 0;