I was just coding in C language on my macOS and tried to compile my file. Before I could save it (it"s just stupid, I know.. I always do backups.. but not this time)..well.. I compiled it and my code was just gone. The .c file is gone and now I have to start coding again..

I wonder if you know a method to retrieve my file. Maybe it's just hidden or something.

  • Have you saved your file in dropbox, gmail, google drive or somewhere in the web? – user726730 Apr 10 '19 at 11:24
  • I wish I had. But I haven't. It was in the middle of the night, I was just so tired.. shut happends when u don't sleep :( – AIRAW Apr 10 '19 at 11:26
  • The executables in mac os have the same extensions (.c)? – user726730 Apr 10 '19 at 11:33
  • it's an executable unix data, it executes the program i coded, but it has no .c end – AIRAW Apr 10 '19 at 12:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.