Lab 2 - Linked Lists

For Homework 2, you have to implement a linked list template class. In the lab today, implement the member functions for the ListNode class (just the ListNode class, do LinkedList as part of the homework assignment). Use the following main() function to test your ListNode implementation: lab2main.cpp You can copy this file over to your current directory with the following command:
cp /usr/users/mdanfor/public_html/cs223-f07/lab2main.cpp .

The easiest way to do this is to copy the provided list.cpp for Homework 2 to a new file (such as lab2.cpp), comment out the LinkedList class and paste the above main() function at the bottom of the file. Email this file to me as your lab submission.