Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: A good C++ Compiler...

  1. #1
    Banned Sylvie's Avatar
    Join Date
    Aug 2004
    Location
    Hell
    Posts
    4,136
    Blog Entries
    4

    Default A good C++ Compiler...

    I need a good C++ compiler that is free. I am just starting to learn C++ and I need one with a good user interface that is easy to use... I tried Dev-C++ and its ok but when I compile my program and try to run it, the program opens for maybe 1 second before disapearing OR it just doesnt open at all...

  2. #2

    Default

    JGRASP is a good multi-language development environment, it supports C++.

  3. #3

    Default

    use gcc if you have a spare linux box - for window$ use dev-c++ available at www.bloodshed.net It uses the MingW base libs and is top of the sexyness. Good luck!

    Bipper

  4. #4
    Old school, like an old fool. Flying Mullet's Avatar
    Join Date
    Apr 2003
    Location
    Napping in a peach tree.
    Posts
    19,185
    Articles
    6
    Blog Entries
    7
    Contributions
    • Former Administrator
    • Former Cid's Knight
    • Former Senior Site Staff

    Default

    But bipper really loves Java so take whatever he says in regards to C++ with a grain of salt.
    Figaro Castle

  5. #5

    Default

    string sarcasm = 'Lawl.' ;
    string message='
    Flying Mullet of Fury had a hint of sarcasm in there. I loathe Java.
    With that cleared up, I am currently applying for a Java Gig that pays very well ><

    I am a sell out.';

    applying sting to object, applying object to object

    compileing....
    ....
    ...........................................................................................
    ..............................................(35 minutes later)
    unknown object at line 666

    Bipper$ ./rm -rf life

  6. #6
    Old school, like an old fool. Flying Mullet's Avatar
    Join Date
    Apr 2003
    Location
    Napping in a peach tree.
    Posts
    19,185
    Articles
    6
    Blog Entries
    7
    Contributions
    • Former Administrator
    • Former Cid's Knight
    • Former Senior Site Staff

    Default

    Quote Originally Posted by bipper
    I am currently applying for a Java Gig that pays very well ><

    I am a sell out.
    Figaro Castle

  7. #7
    Got obliterated Recognized Member Shoeberto's Avatar
    Join Date
    Jun 2000
    Location
    THE OC BABY
    Posts
    12,020
    Blog Entries
    1
    Contributions
    • Former Cid's Knight

    Default

    Quote Originally Posted by bipper
    use gcc if you have a spare linux box - for window$ use dev-c++ available at www.bloodshed.net It uses the MingW base libs and is top of the sexyness. Good luck!

    Bipper
    I second Dev-C++. I'm a bit fan of it.


  8. #8
    Ominous Wanderer Tech Admin Samuraid's Avatar
    Join Date
    Oct 2001
    Posts
    5,522

    Default

    Quote Originally Posted by OdinDragoon
    I tried Dev-C++ and its ok but when I compile my program and try to run it, the program opens for maybe 1 second before disapearing OR it just doesnt open at all...
    The program may be running, but as soon as it finishes, windows closes the terminal window. The best way to test the program is to open a new terminal window (run "cmd"), cd to your the folder where Dev-C++ is compiling your program, and run your program manually in the terminal.

  9. #9

    Default

    this simple peice of code will stop that from occouring.

    system(“PAUSE”);

    The cleaner way would be to asc for user input before terminating (ie "Press any key to contine" Followed by a getchar command

    bipper

  10. #10
    Ominous Wanderer Tech Admin Samuraid's Avatar
    Join Date
    Oct 2001
    Posts
    5,522

    Default

    If you use system(), make sure to include stdlib.h

  11. #11
    Prinny God Recognized Member Endless's Avatar
    Join Date
    Aug 2000
    Location
    Prinny Moon
    Posts
    2,641
    Contributions
    • Former Cid's Knight

    Default

    As a development environment, get <a href="http://www.eclipse.org/">Eclipse</a>. Seriously. It works for <a href="http://www.eclipse.org/jdt/">Java development</a>, <a href="http://www.eclipse.org/cdt/">C/C++ development</a>, and more.

    And then there is Death

  12. #12

    Default

    Eclipse is good for sure. I have to use it at work, but it can get a little distracting at points. Don't worry about Java development though I personally do not like eclipse, but that has to do more with an extreme bias against its creators.

    I try to stick with GCC and compliance myself. If you really want to learn c, get a linux box and use GCC as stated above

    Bipper
    Last edited by bipper; 03-31-2006 at 11:44 PM.

  13. #13
    Ominous Wanderer Tech Admin Samuraid's Avatar
    Join Date
    Oct 2001
    Posts
    5,522

    Default

    gcc + a good makefile &gt;&gt;&gt;&gt; most.

  14. #14

    Default

    Quote Originally Posted by Samuraid
    gcc + a good makefile &gt;&gt;&gt;&gt;<del> most.</del> all

  15. #15
    ORANGE Dr Unne's Avatar
    Join Date
    Dec 1999
    Posts
    7,394
    Articles
    1
    Contributions
    • Former Administrator
    • Former Developer
    • Former Tech Admin

    Default

    Another vote for GCC.

    But who needs Eclipse when you can have Vim.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •