fixed some more with the readme

This commit is contained in:
Andrew Lalis 2017-05-22 15:36:54 +02:00
parent 1ccc72c16d
commit 76e80dbd9a
1 changed files with 6 additions and 6 deletions

View File

@ -4,12 +4,12 @@ A handy collection of C algorithms compiled into one header file for use anywher
## Functionality ## Functionality
### Stack ### Stack
The stack is probably the most basic storage structure, using the 'first-in, first-out' approach. The stack is probably the most basic storage structure, using the 'first-in, first-out' approach. The following functions are the only ones available for stack manipulation, as it is quite a minimalistic data structure.
* ```c Stack createStack()``` * ``` Stack createStack() ```
* ```c void freeStack(Stack *s)``` * ``` void freeStack(Stack *s) ```
* ```c void pushToStack(int item, Stack *s)``` * ``` void pushToStack(int item, Stack *s) ```
* ```c int popFromStack(Stack *s)``` * ``` int popFromStack(Stack *s) ```
* ```c void printStack(Stack s)``` * ``` void printStack(Stack s) ```
### Queue ### Queue