trying out the code in readme

This commit is contained in:
Andrew Lalis 2017-05-22 15:34:36 +02:00
parent 3ae088f445
commit 1ccc72c16d
1 changed files with 5 additions and 5 deletions

View File

@ -5,11 +5,11 @@ A handy collection of C algorithms compiled into one header file for use anywher
### 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)
* ```c Stack createStack()```
* ```c void freeStack(Stack *s)```
* ```c void pushToStack(int item, Stack *s)```
* ```c int popFromStack(Stack *s)```
* ```c void printStack(Stack s)```
### Queue