Andrew Lalis 3ae088f445 | ||
---|---|---|
source | ||
.gitignore | ||
README.md | ||
test.c |
README.md
Algorithms
A handy collection of C algorithms compiled into one header file for use anywhere. Feel free to include this file with any C project, as long as you keep the comment at the top with a little copyright notice.
Functionality
Stack
The stack is probably the most basic storage structure, using the 'first-in, first-out' approach.
- Stack createStack()
- void freeStack(Stack *s)
- void pushToStack(int item, Stack *s)
- int popFromStack(Stack *s)
- void printStack(Stack s)