I made this library just for fun. It works perfectly. There is a C version with a structure named "STACK" and a C++ version with a class named "STACK". You can push anything onto the stack (including raw data) and than pop it back later. There is also an "empty" command to clear the stack. It was developed in DevCpp.
Please no flaming, I just want your comments.
Download
Code:Table of contents BIN--------| | DLL------| | | C----| | | | libstackc.a | | | stackc.dll | | | | | C++--| | | libstackcpp.a | | stackcpp.dll | STATIC---| | | libstackc.a | | libstackcpp.a | stack.h | stack.hpp | EXAMPLE----| | stackexample.c | stackexample.cpp | SRC--------| C----| | dll-----| | | Stack Library.dev | | stack.c | | stack.h | | | static--| | Stack Library.dev | stack.c | stack.h | | C++--| dll-----| | Stack Library.dev | stack.cpp | stack.hpp | static--| Stack Library.dev stack.cpp stack.hpp