Hi, I'm kind of new to programming, more new to C++, and I started using Code::Blocks yesterday (much easier & less cluttered than VS2007).
I turned all the autosaving features I could find off, but still managed to overwrite some code just now at some point. Nothing I'm writing atm is too crucial but I don't like the idea of any .cpp files etc. being written over unless I expressly tell it to.
What I did was:
Saved a bunch of code
Cleared the lot and replaced it with some simpler code I just wanted to test for a second
Compiled & ran that code
Shut down Code::Blocks & restarted to open the 'saved' version of the .cpp file
- but it seems to have saved the small piece of temporary code, over the top of all the stuff that was there before! If I quit CB without saving, it asks me whether I want to (first for the Workspace & then specific files), but this time it didn't.
Am I right in thinking the compiling & running of a file causes it to be silently autosaved first? Can I turn this off?
Thanks.