I'm trying to use Eclipse with C++, MinGW compiler, to debug some really simple programs, but i can't find a way to make it work, whenever i input a variable by keyboard, it changes it to a random 40-50 number.
It's probably because of my lack of knowledge but my classmates were having trouble aswell so i wanted to make sure we were doing it 'right'.