What compiler are you using?
I'm using mingw, and this only happens for this program.
It doesn't make sense then. I'd say create a new project and copy+paste all of the code into the new project. You are making new folders for all of your projects right?