I've been experimenting trying to create three different stacks and do functions for those individually.
The point is to use pointers and no stl containers.
So I would pop off a certain character that was last and delete every other same character in the stack.
My problem is that after I manage to get multiPop to work, stack A is also affected so when I test it, the assert throws.
( the list is bbc instead of a b a b c a)
Stack C doesn't work at all when I uncomment the first assert for it. Compiler crashes. ( I use codeblock )