#include <stack.h>
Public Member Functions | |
stack () | |
A Constructor. | |
int | push (char) |
Push an element into the stack. | |
int | pop (char &) |
Pop out an element from the top of the stack. | |
void | display (void) |
Displays the content of the stack. | |
~stack () | |
A Destructor. |
The class to do the elementary operations on stack and demostarte the functionality of the Documentation management system "Doxygen"
|
A Constructor. The constructor of the class stack to initialize all the member variables of the class stack
|
|
Displays the content of the stack. Function to Display the content of the stack
|
|
Pop out an element from the top of the stack. Function to pop an element from the stack.
|
|
Push an element into the stack. Function to push an element into the stack.
|