I've used C::B on and off for a while now and I've only recently begun to have this problem (a day or two).

Anyways, if i "build and run" the project it doesn't create a new EXE but instead run the last one created, i have to rebuild or clean the project for it to actually create a new EXE that represent the code I've written. It gets really frustrating since i cant even see a int changed to 5 from 10 in action without a total rebuild.

I went into Project Settings -> Build Options -> Debug -> Other options (under compiler settings) and there i find this "g++ test.cpp -std=c++0x".

Why you put the test "g++ test.cpp -std=c++0x" there? This is totally wrong! You need to remove them.I suggest you need to learn how to build your program in the Windows Command line Shell.

Logged

If some piece of memory should be reused, turn them to variables (or const variables).If some piece of operations should be reused, turn them to functions.If they happened together, then turn them to classes.