stack

Oct 3, 2015 at 7:24pm
Hello everyone. I'm now writing a code that does some actions with a stack. Actually it's ok, but I have a problem here. I have a stack and I need to copy its elements to another one missing the repeated elements.The problem is that I have to use the pop function and I distort the stack. I can't write the function properly.
Could you please help me by showing the right way or giving some hints. Any help will be appreciated. Thanks in advance.
Oct 3, 2015 at 8:05pm
Oct 4, 2015 at 3:23pm
but none of them was answered
Topic archived. No new replies allowed.