cp /net/data/ftp/pub/class/170/ftp/cpp/LinkedLists/LinkedList.cpp LinkedList.cpp cp /net/data/ftp/pub/class/170/ftp/cpp/LinkedLists/LinkedList.h LinkedList.h cp /net/data/ftp/pub/class/170/ftp/cpp/LinkedLists/main.cpp main.cpp cp /net/data/ftp/pub/class/170/ftp/cpp/LinkedLists/Makefile Makefile
The purpose of the program is to demonstrate operations on a simple singly linked list.
Now you should be ready to start adding code to that program.
Compile and run this C++ program.
Compile and run this C++ program.
Compile and run this C++ program.
Try deleting the first, last and middle node. Also try to remove something that is not in the list (an appropriate message should be printed).
|
Thursday, 06-Oct-2011 12:13:32 CST |
| |
|
|