After converting the Java String library into a C++ equivalent and seeing the usefulness of using a common class with both languages, I decided to do the same for a few of the collection classes Java has available.
This class is a based on the Java Stack class and as such contains all the public member functions of it's Java equivalent. Unlike Java, typecasts are not necessary since C++ allows template instantiation of types at compile time.
The library is fairly simple in usage. You may visit the Stack
class specification at JavaSoft.