Dev-C++ Not Working! Help ME!!!

This is a discussion on Dev-C++ Not Working! Help ME!!! within the C++ Programming forums, part of the General Programming Boards category; When I try to compile a program, I get these errors- READ PIC I INCLUDED! Help Please! Thanks...

  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    97

    Dev-C++ Not Working! Help ME!!!

    When I try to compile a program, I get these errors-

    READ PIC I INCLUDED!

    Help Please! Thanks
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    Jul 2003
    Posts
    97
    Also, When I am in Borland 4.5, I don't get a error when I compile the same exact program. So what is wrong with Dev-C++?! Thanks, Bye

  3. #3
    Registered User
    Join Date
    Jul 2003
    Posts
    97
    I just found out Borland 5.5 is free so I am downloading it right now. I might just use that instead. I am tired, so I am going to bed when it finishes. But still, try to find out whats wrong with Dev-C++. Thanks, Laterz...........

  4. #4
    *******argv[] - hu? darksaidin's Avatar
    Join Date
    Jul 2003
    Posts
    314
    I'm not a C guru, but afaik Salem encourages everyone not to use void main().

    Also, you #include <iostream.h>, but the file is now called <iostream> without the .h .

  5. #5
    Registered User
    Join Date
    Jul 2003
    Posts
    97
    I installed 5.5. But there is no .exe file to run it! WTF do I do!!??

  6. #6
    *******argv[] - hu? darksaidin's Avatar
    Join Date
    Jul 2003
    Posts
    314
    Originally posted by oobootsy1
    I installed 5.5. But there is no .exe file to run it! WTF do I do!!??
    Nothing because you should stick with DevC++. It's an IDE with editor whereas your latest download is a naked compiler without IDE.

  7. #7
    Registered User
    Join Date
    Jul 2003
    Posts
    97
    Ok, My uncle said 5.5 is a command line for dos or sumthin. so ill stay with borland 4.5. bloodshed dev-c++ has those errors, so i cant use that. i even reinstalled too. so i dunno wtf to do. and my cat is lost today, it got away somehow. im about to do suicide, so i dunno. just try to help me. thankz.........

  8. #8
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,892
    Errm, it's not Dev-C++ that has errors, it's your program.
    But never mind me.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  9. #9
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220
    DUDE!!!11 UR CODE IS THE WRONG. PLS SEE ATTACHED FOR CORRECTION?!!!1 OMG WTF LOL!
    Attached Images Attached Images  
    Last edited by Brian; 08-11-2003 at 03:17 AM.

  10. #10
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    What is the deal with this thread? oobootsy asks a question, then doesn't even respond to everybody's answers! oobootsy, try doing what everybody told you.
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  11. #11
    Registered User
    Join Date
    Jul 2003
    Posts
    97
    IT WONT WORK! LOOK IN ZIP
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    Oct 2002
    Posts
    291
    oobootsy1 : Why not just copy and past the code into this thread instead of using a zip file with a picture ?

    Do this,
    Code:
    #include <iostream>
    
    int main()
    {
      std::cout << "Hello word" << std::endl;
      system("PAUSE");
      return 0;
    }
    or

    Code:
    #include <iostream>
    using namespace std;
    
    int main()
    {
      cout << "hello world" << endl;
      system("PAUSE");
      return 0;
    }

  13. #13
    Registered User
    Join Date
    Jul 2003
    Posts
    97
    look at THE ERRORS in the pic on the zip file. no matter how easy, basic, or good the program is, it errors. i need help to make bloodshed work, not improve my code.

  14. #14
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    Heres your problem:
    Code:
    cout
    :P
    The new bloodshed compiler wont allow that i believe:
    Code:
    std::cout
    will work...or add
    Code:
    using namespace std;
    after your #include
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  15. #15
    Grammar Police HybridM's Avatar
    Join Date
    Jan 2003
    Posts
    355
    what is it these days with people who won't accept the fact that they can be wrong?

    Everyone told you from the very beginning how to correct your program, which was so wrong it made me cringe. I'll do it once more for you:
    Code:
    #include <iostream> // note no .h
    using std::cout;
    
    int main
    {
         cout << "This code is so beautiful it makes me weep.";
    
         return 0;     // still required in some compilers
    }
    Last edited by HybridM; 08-11-2003 at 06:00 PM.
    Thor's self help tip:
    Maybe a neighbor is tossing leaf clippings on your lawn, looking at your woman, or harboring desires regarding your longboat. You enslave his children, set his house on fire. He shall not bother you again.

    OS: Windows XP
    Compiler: MSVC

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 05-07-2009, 11:31 AM
  2. Dev C++ |Random Coding| Not Working!
    By oobootsy1 in forum C++ Programming
    Replies: 6
    Last Post: 03-05-2004, 09:13 PM
  3. OPENGL Dev C++; Fualty LIBS
    By Blizzarddog in forum C++ Programming
    Replies: 5
    Last Post: 01-02-2004, 08:40 AM
  4. Dev C++ help please!!!
    By caroundw5h in forum C Programming
    Replies: 7
    Last Post: 11-27-2003, 08:48 AM
  5. Tutorial about Bloodshed Dev!
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 11-13-2001, 06:42 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21