teubenragee
Programmer
I've created a chained list class, and I use it like a fifo.
In it, I put a class with an int inside. But if I push a value in the stack and immediatly I Pop It, the int value has changed (from '3' to '-12..... (don't remember the exact value but I think in Hexa it looks like FFFFFFFF)) why?
In it, I put a class with an int inside. But if I push a value in the stack and immediatly I Pop It, the int value has changed (from '3' to '-12..... (don't remember the exact value but I think in Hexa it looks like FFFFFFFF)) why?