// From the software distribution accompanying the textbook // "A Practical Introduction to Data Structures and Algorithm Analysis, // Third Edition (C++)" by Clifford A. Shaffer. // Source code Copyright (C) 2007-2011 by Clifford A. Shaffer. // Test program for the linked stack class #include "book.h" #include "lstack.h" #include "StackTest.h" // Driver class for list implementations // Main routine for array-based list driver class int main(int argc, char** argv) { // Declare some sample lists LStack S1; LStack S2(15); LStack S3; StackTest(S1); StackTest(S3); return 0; }