Hi, I have a homework assignment to copy the elements of one stack to the other except in reverse order. The algorithm is easy enough for me to figure out and implement. My only question is, I dont really understand how im supposed to add my own function to a STL Stack class. AKA, stack already has pop, push, etc. I want to add my own reverse function. Can anyone help me get started? Thanks
Edit: Or should I just write a seperate function that takes two stack's as arguments and does everything on its own?