aboutsummaryrefslogtreecommitdiff
path: root/InClassExercise 9/PointerExercises.cpp
diff options
context:
space:
mode:
authorAsahel <[email protected]>2024-02-12 09:39:25 -0800
committerAsahel <[email protected]>2024-02-12 09:39:25 -0800
commit35721098260cec8410d63e040546dba3ee81ec75 (patch)
tree24dd0cd9b37f7f7ce592df178a97dae8972a0b45 /InClassExercise 9/PointerExercises.cpp
parentNot sure if I commited. Making sure. (diff)
downloadin-class-exercise-9-asahellt-main.tar.xz
in-class-exercise-9-asahellt-main.zip
Fixed error!HEADmain
Diffstat (limited to 'InClassExercise 9/PointerExercises.cpp')
-rw-r--r--InClassExercise 9/PointerExercises.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/InClassExercise 9/PointerExercises.cpp b/InClassExercise 9/PointerExercises.cpp
index 003734d..d5dc15b 100644
--- a/InClassExercise 9/PointerExercises.cpp
+++ b/InClassExercise 9/PointerExercises.cpp
@@ -1,8 +1,11 @@
+
#include "PointerExercises.h"
#include <iostream>
+
using std::cout;
using std::endl;
+
void Swap(Node* first, Node* second)
{
int temp = first->_num;