Problem with Code::Blocks 13.12


I started learning C++ recently, using code::blocks 13.12 and and I have to face a weird problem: every time i write a program and run it, the first time it works, but if I change any thing (the value of an integer for example) it keeps going with the first version of the code! It keeps giving the same result and I need to close the code and open it again to make it work (once...)

Has anyone faced such a problem and know a solution?

Thank you very much.

Are you clicking "build and run" or just "run"

If you make a blank project and then write code and then click run, code blocks will build it for you the first time, but every other time you click run it will just execute that first build and not take into account any changes you make.
Thank you very much, problem solved!
Topic archived. No new replies allowed.