aboutsummaryrefslogtreecommitdiff
path: root/Inclass 10/PointerExamples.cpp
blob: 16de9c3bd8c24623589410f6db94bfc2159c3c9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include <iostream>
#include "Header.h"
#include "Node.h"

using std::cin;
using std::cout;
using std::endl;

void Swap(Node* first, Node* second)
{
	int test = 0;
	int test2 = 0;
	first->data = test;
	second->data = test2;


	cout << "first node swapped is (correct 16): " << second << " the second node swapped is (correct 24): " << first << endl;
} 

void Standardize_101(Node* thirdNode)
{
	/*int stan = 0;
	Node* thirdNode = stan;
	thirdNode->_data = stan;*/

}

void Square(Node* thirdNode)
{



}