pahjo
January 16, 2002, 08:26 pm
I need to add a function to return the number of items in the stack. How would this function work for an array-based stack and what would change for a pointer-based stack?
Also, how do I add a member function that adds up all the values in the stack using an array-based ADT stack of intergers?
Thank you for your time and responses.
Pahjo
Also, how do I add a member function that adds up all the values in the stack using an array-based ADT stack of intergers?
Thank you for your time and responses.
Pahjo