User forums > Help
Accidental reloading of the source file main.c
(1/1)
Stefan923:
Hello,
I've accidentaly reloaded my main.c source file after Codeblocks told me that the file was modifyed in external. The IDE have copied my code from a header file I that has been opened, to the lost main.c file.
Now, I am curious if there is any way to recover my code. I still have the main.o file which contains the old code. Can I use this file to recover my main.c file?
oBFusCATed:
If you've not setup autosave plugin to do backups, or have similar os solutions the file would be gone.
Now is the time to learn how to use a https://en.wikipedia.org/wiki/Version_control
raynebc:
If you're using Windows, it may have made a shadow copy backup. Go to the folder's properties in a File Explorer window, select the previous versions tab and see if it lists a backup from a time before your file was overwritten.
Stefan923:
--- Quote from: raynebc on March 25, 2020, 03:35:37 pm ---If you're using Windows, it may have made a shadow copy backup. Go to the folder's properties in a File Explorer window, select the previous versions tab and see if it lists a backup from a time before your file was overwritten.
--- End quote ---
There's no backup file :(
Navigation
[0] Message Index
Go to full version