ok earlier i saved my code like i would any other code
but when i went to open to my "delight" it was turned into gibberish :(
what does this mean and how do i get my code back :(
FileDescription=Developed using the Dev-C++ IDE
That looks to be a project file. It may be that you no longer have *.dev files associated with dev-cpp. Try opening dev-cpp first then loading the project manually (although that project file doesn't seem to list any source files). If that fails, try reassociating the file type with dev-cpp; you might still have to recreate your original project, providing you still have whatever source files were included in it. If you only had a single source file and that's its new contents then, unless you have a backup, it looks like you've lost the code and it has been overwritten by a dev-cpp project configuration.
I'm moving this to the tech board because its a compiler configuration question and not about the c++ programming language.
ok i uploaded some code from my project earlier thankfully but i did about another 200 lines after that :( oh well ill try what you said..
but theres something wierd aswell i can still play the exe file as if it was the code before?
That's not weird. You've compiled your program before, right? It doesn't need the source code to work anymore, apart from DLLs. In fact, you can use a decompiler and get your source code back.
grr i wished you posted earlier..i already rewrote all of the code and then someXD
but tell me more about this decompiler can you give me a link to one?
I've actually never used one, so I can't make any good recommendations. Google is always a fine starting point: "c++ decompiler="=. You would want to get a quality one, so I imagine that you should be as descriminating as you were when you chose a compiler. Maybe the more experienced members of the board know a good one.
I've never used a decompiler, but I can tell you that it won't work very well. It may be able to create a new C++ source file that can be re-compiled to the exact EXE, but it cannot re-create your original files.
Here are a few things that don't exist in the EXE file, and the de-compiler can't possibly know them:
-Your variable names
-Your function names
-Multiple source files, if used
-3rd party libraries, if used
Or, it might not know what type of loop you used... for-loop, while-loop, or do-while loop? A machine-language loop is quite different from these. (Again, it may make a loop that works the same as yours, but it might be of a different form.)