CSCI 132 Data Structures--Spring 2014

    Home | | Syllabus | | Assignments | | Lecture Notes

    Laboratory 3 Solutions

    Solution to ext_stack.h code:

    /*******************************************************************
    * Name: Brenda Student
    * Date: 2/4/14
    * Course: CSCI 132 Section 01
    * Assignment: Lab 3
    * Instructor: Royden
    * File: ext_stack.h
    * Purpose:  Specification of Extended_stack class
    *********************************************************************/
    
    #include "stack.h"
    
    class Extended_stack : public Stack {
    public:
      void clear( );
      bool full( ) const;
      int size( ) const;
      int sum( ) const;
    };
    
    

    Home | | Syllabus | | Assignments | | Lecture Notes