Cant open my dev ++ project file

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:

[Project]
FileName=Assignment1.dev
Name=Assignment1
UnitCount=1
Type=1
Ver=1
ObjFiles=
Includes=
Libs=
PrivateResource=
ResourceIncludes=
MakeIncludes=
Compiler=
CppCompiler=
Linker=
IsCpp=1
Icon=
ExeOutput=
ObjectOutput=
OverrideOutput=0
OverrideOutputName=
HostApplication=
Folders=
CommandLine=
UseCustomMakefile=0
CustomMakefile=
IncludeVersionInfo=0
SupportXPThemes=0
CompilerSet=0
CompilerSettings=

[Unit1]
FileName=main.cpp
CompileCpp=1
Folder=
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[VersionInfo]
Major=0
Minor=1
Release=1
Build=1
LanguageID=1033
CharsetID=1252
CompanyName=
FileVersion=
FileDescription=Developed using the Dev-C++ IDE
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=
AutoIncBuildNr=0

And this is within dec-c++.
Am I fu**ed or can this be fixed theres about 6 hrs work there.

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 )
Thank you ill see if that works. Im stuck with what ever the college has and this isnt the first thing that has been well out of date :P.
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.
For future reference: backup, backup, backup...
Lol i tryed rebuilding and now my .o file is gone. Ide loved to have backed it up but i need to save it first and saving it is what broke it :(.
In the first post, you said you open the .dev file. What's in the .cpp?
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.
Topic archived. No new replies allowed.