diff --git a/labs/06_lists_iterators/checkpoint3.cpp b/labs/06_lists_iterators/checkpoint3.cpp index d0d12b7..95ed1bd 100644 --- a/labs/06_lists_iterators/checkpoint3.cpp +++ b/labs/06_lists_iterators/checkpoint3.cpp @@ -3,8 +3,7 @@ // Note: It's ok that all the member variables are public for this -// tiny class. We'll build up to a more robust and complete linked -// list implementation in lecture 11. +// tiny class. template class Node { public: @@ -39,7 +38,7 @@ void reverse(Node* &input) { int main() { - // manually create a linked list of notes with 4 elements + // manually create a linked list of nodes with 4 elements Node* my_list = new Node; my_list->value = 1; my_list->ptr = new Node; @@ -57,7 +56,7 @@ int main() { // Note: We are not deleting any of the Nodes we created... so this - // program has memory leaks! More on this in lecture 11. + // program has memory leaks! }