This is my first experience in data structures!
Constructs and destructs stack:
stack *myCoolStack = stackConstructor(1);
stackDestructor(myCoolStack);
Pushes / pops value in / out of stack:
stackPush(myCoolStack, 10);
elem_t myCoolElement = 0;
stackPop(myCoolStack, &myCoolElement);
Dumps info about stack in terminal:
stackDump(myCoolStack);
simpleStackDump(myCoolStack);
First clone repo:
git clone "https://github.com/flopsreallygotit/Stack.git"
Then switch to Stack/Example/ and write:
make
./main
Good job! Now you can watch an example and then use it!
Try to hack this!
Push & Pop & Good Luck & Have Fun!