djgpp

This is a discussion on djgpp within the C++ Programming forums, part of the General Programming Boards category; i know a lot of people use this, so i decided to give it a shot, i compiled hello.c and ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    403

    djgpp

    i know a lot of people use this, so i decided to give it a shot, i compiled hello.c and hello.cpp just fine but for some reason when i tried to compile a larger program i got tons of errors, i was previously using bcc32 (the free borland compiler) and this file works with it. What is going on here, is gxx really that strict? (i know i'm not writing perfect code, but it works fine under borland so i really shouldn't have 94 errors)

  2. #2
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    When I converted ~1500 lines of code from MSVC to Dev C++, I had to correct about 50 lines of it.
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    403

    haha.. nevermind

    after examination of the errors (earlier i was to mad at it to really read the "gibberish" djgpp gave me) i realized that i hadn't included

    using namespace std;
    and i guess that borland did that for me , well thanks to borland for throwing that in for free, and boo to borland for making me lazy

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GUI in DJGPP
    By bakia in forum C Programming
    Replies: 2
    Last Post: 05-20-2005, 12:29 AM
  2. Wav edit programmation for dos with DJGPP
    By sprudhom in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 07-17-2003, 07:35 AM
  3. DJGPP project problems
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 06-08-2002, 07:16 PM
  4. DJGPP assembly syntax ills...
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 11-11-2001, 01:54 AM
  5. DJGPP help needed
    By dune911 in forum C++ Programming
    Replies: 6
    Last Post: 09-15-2001, 04:56 PM

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