Classes | Public Member Functions | Public Attributes

Stack Struct Reference

Stack ADT to store Students. More...

#include <Stack.h>

List of all members.

Classes

struct  ListElem

Public Member Functions

 Stack ()
void ausgabe ()
 Prints stack as list on screen.
void push (const Student &stud)
 Add Student to stack.
bool pop (Student &stud)
 Pops Student from stack.

Public Attributes

ListElemhead
 Pointer to first element in stack.
ListElemtail
 Pointer to last element in stack.

Detailed Description

Stack ADT to store Students.


Constructor & Destructor Documentation

Stack::Stack (  ) 

/brief Constructor

Initialize list pointers

Praktikum Informatik 1 Versuch 4.1: Dynamische Datenstrukturen

Datei: Stack.cpp Inhalt: Stack mit Push-, Pop- und Ausgabe-Funktion


The documentation for this struct was generated from the following files:
 All Classes Functions Variables