stack1.c File Reference

#include <stdbool.h>

Defines

#define STACK_SIZE   100

Functions

void make_empty (void)
bool is_empty (void)

Variables

int contents [STACK_SIZE]
int top = 0

Define Documentation

#define STACK_SIZE   100

Referenced by is_full().


Function Documentation

bool is_empty ( void   ) 

References top.

Referenced by pop().

void make_empty ( void   ) 

References top.


Variable Documentation

int contents[STACK_SIZE]

Referenced by pop(), and push().

int top = 0

Referenced by is_empty(), is_full(), make_empty(), pop(), and push().


Generated on Sun Oct 18 15:07:59 2009 for CS2023 Week 7 Examples by  doxygen 1.6.1