Thread: Need help w/ Bloodshed compiler!

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    2

    Question Need help w/ Bloodshed compiler!

    I just recently downloaded the bloodshed compiler as I'm new to C++ programming. Everytime I enter a code or whatever it's called and I click on Execute>>Run it says "Project is not compiled" so then I click on compile and nothing happens and if I click on run again it says the same thing. Is there something I can do to fix this or is something wrong with the software? Please Help!

    -M

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Well just a thought, did you create a new project AND add your cpp file into that project? You may have created a blank project and forgot to add your file into the project? I'm no expert with Blodshed's compiler though.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    2

    thank you

    I appreciate you taking the time to help me out but if you don't mind answering one more question what is a cpp file?

  4. #4
    Registered User dead_cell's Avatar
    Join Date
    Jun 2002
    Posts
    44

    Post well...

    There's a multitude of things that could've gone wrong that you don't seem to have described in your thread.

    One of the main things that could have gone wrong with your code would be if it was not of the ANSI C++ standard. Your code must follow a strict platform of different styles of formatting in order to be considered "compilable". Take a look at the cprogramming.com's C/C++ tutorials and compile your source code after you look at the examples.

    You need to learn C++ with either an online tutorial, or by buying (hopefully a good) book. Of course, you're staring at one of the best C++ online tutorials, so take the time to learn this language (or, if you wish, you can learn C) and start programming.

    And, there should not be any problem with the software, I code with Bloodshed Dev C++ almost religiously (until I get the cash and the nerve to get Visual C++.net), and I have had absolutely no problem with the GUI.

    Don't give up so quickly. C++ and C doesn't come overnight to anyone, no matter who you are. It takes from simple weeks to long, arduous months for people to get the hang of this (these) language(s).

    So, to sum it all up, in short, read some tutorials. It's the only way (other than going out and buying a book) to learn C or C++.
    Linux is great - It does infinite loops in five seconds!

    ~Linus Torvalds

  5. #5
    Registered User dead_cell's Avatar
    Join Date
    Jun 2002
    Posts
    44
    a cpp file is what contains the bulk of your code, the #include header files, and allows the compiler to read and distribute your code into an executable application for either public distribution or for archival storage.

    To null it down a bit, a cpp file is simply a textfile (commonly referred to as a notepad file) saved with the suffix ".cpp" (without the quotes).
    Linux is great - It does infinite loops in five seconds!

    ~Linus Torvalds

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help With finding a compiler
    By macman in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 04-15-2005, 08:15 AM
  2. Compiler questions
    By DvdHeijden in forum C++ Programming
    Replies: 6
    Last Post: 01-17-2005, 03:00 PM
  3. Have you ever written a compiler?
    By ammar in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 12-27-2004, 07:10 AM
  4. Dev C++ Compiler, Indentation?
    By Zeusbwr in forum C++ Programming
    Replies: 3
    Last Post: 10-21-2004, 06:13 AM
  5. lcc win32 compiler download problems
    By GanglyLamb in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 08-01-2004, 07:39 PM