home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / pascal / rehack / contain / stack.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-06-01  |  696 b   |  22 lines

  1. #ifndef __STACK_H
  2. #define __STACK_H
  3.  
  4. // ╔════════════════════════════════════════════════╗
  5. // ║ Stack.h, stack.cpp                             ║
  6. // ╟────────────────────────────────────────────────╢
  7. // ║ First-in, last-out list                        ║
  8. // ╟────────────────────────────────────────────────╢
  9. // ║ Written by Gus Smedstad                        ║
  10. // ╟────────────────────────────────────────────────╢
  11. // ║ Copyright 1990-91 NoGate Consulting            ║
  12. // ╚════════════════════════════════════════════════╝
  13. #ifndef __LINKLIST_H
  14. #include "linklist.h"
  15. #endif
  16.  
  17. class stack : public linked_list {
  18. public:
  19.   containable *item(); // contents of top item
  20.  };
  21.  
  22. #endif