Menu

Source code changed into config?

fin
2008-04-13
2012-09-26
  • fin

    fin - 2008-04-13

    Hi

    I don't know if I have very bad luck or it's just my fault but my problem looks that:
    I've done some program, compiled it, saved. Everything worked great but when I left devc++ my source code magicly dissapear. I mean in my .dev and .cpp files now are things like that:

    [Project]
    FileName=ProjektSZABABABARA.dev
    Name=Projekt1
    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=mainloooloololol.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

    The problem is I don't know how i can get my source code back. Can anybody help me with this?
    Oh, and .exe file works ok.

     
    • cpns

      cpns - 2008-04-13

      If the text you posted is the from the file named mainloooloololol.cpp (the file named in the project) then you have somehow overwritten it.

      Presumably it no longer builds? If it does build, you should post the Compile Log so we can see what it is building - because it isn't this. The executable will of course run because it won't be replaced if the build fails. If you did a rebuild-all it would get deleted (and then won't run).

      Never mind, it always comes out better the second time you write it, which is your only choice. Consider using a tool such as Subversion or CVS in future.

      Clifford

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.