(Latest Revision: 09/16/2000)
09/12/2000: added another include directive (for limits.h)
09/16/2000: corrected delimiters (for name limits.h)

SOURCE FILE: stack.cpp.form



// *********************************************************
// Implementation file stack.cpp for the ADT stack.
// "strange" implementation.
// *********************************************************
/* 

     Your Name:          
Your User Name:     
        Course:  CS 3100, Data Structures + Algorithms, Section 001
    Instructor:  John Sarraille
          Date:  September 25, 2000
*/

#include <iostream.h>
#include <limits.h>
#include "stack.h"  // header file

       /* ######################################## */        
       /*              stackClass()                */
       /* ######################################## */


       /* ######################################## */        
       /*           stackClass(copyStack)          */
       /* ######################################## */


       /* ######################################## */        
       /*                StackIsEmpty              */
       /* ######################################## */


       /* ######################################## */        
       /*                StackIsFull              */
       /* ######################################## */


       /* ######################################## */        
       /*                   Push                   */
       /* ######################################## */


       /* ######################################## */        
       /*             GetStackTop                  */
       /* ######################################## */


       /* ######################################## */        
       /*                Pop(Success)              */
       /* ######################################## */


       /* ######################################## */        
       /*         Pop(StackTop, Success)           */
       /* ######################################## */


       /* ######################################## */        
       /*              StackPrint                  */
       /* ######################################## */








/* End of implementation file. */