Classes | Typedefs | Functions
gft::Stack Namespace Reference

Classes

struct  _stack
 

Typedefs

typedef struct gft::Stack::_stack Stack
 

Functions

StackCreate (int n)
 
void Destroy (Stack **S)
 
void Push (Stack *S, int p)
 
int Pop (Stack *S)
 
int IsEmpty (Stack *S)
 

Typedef Documentation

Function Documentation

Stack * gft::Stack::Create ( int  n)
void gft::Stack::Destroy ( Stack **  S)
int gft::Stack::IsEmpty ( Stack *  S)
inline
int gft::Stack::Pop ( Stack *  S)
Returns
Returns NIL if empty.
void gft::Stack::Push ( Stack *  S,
int  p 
)