// OneDriver.cpp // revised 10 sep 04 tom bailey // Use the revised LinkedList and operator <<. // tom bailey 25 feb 04 // Insert and remove doubles from the front of a singly // linked list. #include "LinkedListOne.h" #include using std::cout; using std::endl; int main() { LinkedList cows; cout << cows << endl; cows.insertAsFirst( 1.23 ); cows.insertAsFirst( 2.34 ); cout << cows << endl; cows.removeFirst(); cows.insertAsFirst( 3.45 ); cows.insertAsFirst( 4.56 ); cows.insertAsFirst( 5.67 ); cout << cows << endl; return 0; }