/libstack

Stack in C...any data type, and easy to use.

Primary LanguageCGNU General Public License v3.0GPL-3.0

libstack

A stack library for C. Easy to use as well as takes in any data type.For instructions on basic usage, visit the examples.

For installation, please go here. For documentation, please go here.

Installation

Make sure to have make, gcc and git installed.

git clone https://github.com/resyfer/libstack.git
cd libstack
make install
cd ..
rm -rf libstack

Provide the password when prompted.

Development

Update makefile variable MODE to be:

MODE:=dev

and then:

make run # to run the example
# or
make test # to run the tests