00001
00002
00003
00004
00005
00006
00008
00009 #ifndef STACK_H_
00010 #define STACK_H_
00011
00015
00016 #include <iostream>
00017 #include <string>
00018 using namespace std;
00019 #include "Student.h"
00020
00024
00025
00026 struct Stack
00027 {
00028
00029 Stack();
00030 void push(const Student& stud);
00031 void ausgabe();
00032 bool pop(Student& stud);
00033 struct ListElem
00034 {
00035 Student data;
00036 ListElem* next;
00037 };
00038 ListElem* head;
00039 ListElem* tail;
00040 };
00041
00042
00043 #endif