how would i go about clearing out a standard stack class with a member function?
Maki
This is a discussion on the stack class within the C++ Programming forums, part of the General Programming Boards category; how would i go about clearing out a standard stack class with a member function? Maki...
how would i go about clearing out a standard stack class with a member function?
Maki
on second thought.. i guess i dont need it as a specific member function.. it only needs access to the public interface of a stack i suppose.. so still. how would i go about doin that correctly
Have you written any more general containers to use as a basis?
just a standard stack class with a push and pop functions with other functions to check if the stack if full or empty
maki