|
osurs
0.0.1
|
#include <stack.h>

Data Fields | |
| StackNode * | top |
| size_t | size |
This structure represents a Stack data structure. It consists of a pointer to the top of the stack (the node at the top of the stack) and an integer size representing the number of elements in the stack.
| size_t Stack::size |
Number of elements in the stack.
| StackNode* Stack::top |
Pointer to the top of the stack.