// From the software distribution accompanying the textbook // "A Practical Introduction to Data Structures and Algorithm Analysis, // Third Edition" by Clifford A. Shaffer, Prentice Hall, 2007. // Source code Copyright (C) 2006 by Clifford A. Shaffer. // Test program for the linked list class implemented with a free list #include using namespace std; #include "book.h" // Include the comparator classes #include "compare.h" // Inlude the version of the link template class that // uses a freelist #include "linkFL.ht" // Include the linked list template class #include "llist.ht" #include "ListTest.h" // Main routine for array-based list driver class int main(int argc, char** argv) { // Declare some sample lists LList L1; LList L2(15); LList L3; ListTest >(L1, L2, L3); return 0; }