Welcome to the Linux Foundation Forum!

Programming in C with Bloodshed

Hey guys I have a problem, I'm programming in C and using bloodshed in a windows environment for my new programming class this semester, and I worked on something all night, saved it in multiple places, and now this morning I have no .dev file to open it and see my code. I have 3 files that it saved :

.cpp

.exe

.o

Any ideas?

Comments

  • marcmarc Posts: 647
    RSims wrote:
    Hey guys I have a problem, I'm programming in C and using bloodshed in a windows environment for my new programming class this semester, and I worked on something all night, saved it in multiple places, and now this morning I have no .dev file to open it and see my code. I have 3 files that it saved :

    .cpp
    .exe
    .o

    Any ideas?

    What's exactly the question?

    Anyway, if you are programming in C... why are you naming your files .cpp?
  • RSimsRSims Posts: 146
    I have no file that lets me see my code I wrote and keep adding to it. That's my problem.
  • marcmarc Posts: 647
    RSims wrote:
    I have no file that lets me see my code I wrote and keep adding to it. That's my problem.

    Mmmm Still don't get you :S

    The code must be in the .cpp files (exe are binary files and .o are object files....).

    Why don't you "grep" the whole folder for something you remember you wrote like "main"? That way you'll get the files where the word "main" is in them
    grep main /folder -R
    

    Regards
  • RSimsRSims Posts: 146
    right but its not, and i don't know why or what to do.
  • RSimsRSims Posts: 146
    well windows and linux both crashed so this problem is no longer fixable. Thanks for attempting to help.
  • marcmarc Posts: 647
    RSims wrote:
    well windows and linux both crashed so this problem is no longer fixable. Thanks for attempting to help.

    *BOTH*?

    That looks like a hardware problem...
Sign In or Register to comment.