Thread: Borland or DevC++?

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    3

    Borland or DevC++?

    I searched for an answer, but I didn't find one. I'm just wondering which is easier, better, any opinions around here?

    I'm already using DevC++ but haven't got the Borland to run because of confusing install procedure. So I'm wondering if it's even worth switching over?

    I'm looking to switch because I alway get errors for code I reproduce exactly from my book "Learn C++ in 21 days."

    As you can see I have about 3 issues here!

    But I'm really only looking for a kind reply of any sort.

    Thank you!

  2. #2
    Registered User
    Join Date
    Jul 2004
    Posts
    60
    I think Borland includes more header files and I'm used to the command line so I use Borland's BCC 5.5. I think the installation procedure is easy because I'm a computer addict. Dev-C++, at least I think, has different errors that cause slightly different syntax and Dev-C++ is not as flexible in syntax as BCC55.
    Child who knows C++
    Using Borland C/C++ Compiler 5.5 (Command Line Version)

  3. #3
    Registered User
    Join Date
    Mar 2004
    Posts
    50
    Hey, I'm not an experienced programmer but I was using Dev when I started a few months ago and I didn't like it for the reasons you stated. I am using Microsoft's Visual C++ 6.0 now and I like it much better and I don't get any dumb errors that dev gave me.

  4. #4
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    You probably get error in your code because you are using old header files do they look like this?
    #warning This file includes at least one deprecated or antiquated header.
    Woop?

  5. #5
    Code Ripper
    Join Date
    Jun 2004
    Posts
    30
    paper-pant,

    you tried open watcom??? i found it very nice

    jmgk

  6. #6
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    MinGW Studio... wonderful, free, almost a clone of the MSVC++ IDE

  7. #7
    ---
    Join Date
    May 2004
    Posts
    1,379
    i cant believe people are complaining about dev-c++
    i dont find anything wrong with it. but i would definitly try out the MinGW Studio it is excellent.

  8. #8
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    I'm looking to switch because I alway get errors for code I reproduce exactly from my book "Learn C++ in 21 days."
    I am using Microsoft's Visual C++ 6.0 now and I like it much better and I don't get any dumb errors that dev gave me.
    Just a question to the 2 of you: did you use code such as
    #include <iostream.h>
    as opposed to
    #include <iostream>

    and/or

    void main()
    as opposed to
    int main()

    in those programs that you had trouble with?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  9. #9
    Registered User
    Join Date
    Aug 2004
    Posts
    3
    Thank you for the help!

    Yes I have been getting "antiquated header" errors, and it said something about how to fix it. So I will follow those steps. Is that all I should know about those?

    Based on your helpful input I think I will use DevC++ until I get through my lessons, then I will spend money on another product once I know I am able to accomplish programming in C++.

    Thank you each for your time and help

  10. #10
    Registered User
    Join Date
    Feb 2002
    Posts
    20
    I too agree that Mingw Studio is great. You should try it out.

    Once Dev-C++ 5 gets out of beta it too will be excellent IMO.

  11. #11
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    I think dev is still excellent even though it is still in beta. I think it will be wonderfull once it is out of beta
    btw: Mingw Studio is pretty cool
    Woop?

  12. #12
    Registered User
    Join Date
    Jul 2004
    Posts
    60
    I use Dev-4 so I don't get depricated header errors. I don't understand when to put std:: or when to put using std::. When do you, I mean, you have to put it unexpectedly in std::string and you don't have to put it in int and do you have to put it in for header file functions? When do you use std:: or using std::?
    Child who knows C++
    Using Borland C/C++ Compiler 5.5 (Command Line Version)

  13. #13
    Some Guy
    Join Date
    Jul 2004
    Posts
    32
    I am also using Teach Yourself C++ in 21 days using Dev-C++. The only compile errors I've been having are that <iostream.h> should be <iostream> and that it doesn't include using namespace std. The sample code should work, then.

  14. #14
    Registered User
    Join Date
    Dec 2001
    Posts
    108
    The GCC in the latest beta of Dev is more up to date with the current C++ standard.

  15. #15
    meow nbk's Avatar
    Join Date
    Jul 2004
    Posts
    45
    Child, any built in c++ commands(int, class, struct, float, enum, this, while, for, to name some of the many(30-50, I think)) are built into c++ - it's what c++ is made of. String isn't a built in command(which is why you need to use <string> to use it), and is in the std namespace.

    string, cout, cin, are some of the most used commands in the std namespace.

Popular pages Recent additions subscribe to a feed