I saved a assignment that me and a friend have been working on for ages and there are 6 files in the folder. Assignment1.exe, Assignment1.layout, Assignment1.dev, main.cpp, main.o and makefile.win. I can run the program fine by running the .exe but i can longer actually view the code. Ide usually just open the .dev file and theres my code but now i get:
Change IDE, Dev-C++ is really old ( http://www.cplusplus.com/forum/articles/7263/ )
You should be able to open main.cpp ( the source file for your program ) by any text editor ( and Dev-C++ itself )
No that didnt work, whats above is what comes up when i try open main.cpp in notepad as well and i just tryed compiling it there and now my .exe file is gone so i cant even show that the bloody program worked.
I figured out how to break it now. You do save as and then do save project as and it asks you to reload from disk I clicked yes and now the program is borked.
Main.cpp and the .dev file both have the exact same thing inside them except the .dev file has [Project] at the very top. Also i dont have a .layout file in any of my other programs.