Compiler Question

This is a discussion on Compiler Question within the C Programming forums, part of the General Programming Boards category; Hello, I just have a quick question. Is the Dev C++ a good compiler to use for C? I started ...

  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    1

    Compiler Question

    Hello, I just have a quick question. Is the Dev C++ a good compiler to use for C? I started using miracle C and quickly saw its shortcomings.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,417
    Not really. The compiler is OK (if a little old), but the IDE is buggy and unmaintained.

    Code::Blocks is the mid-range IDE which is the workalike successor to Dev-C++.

    Make sure you get the 'mingw' download the first time around.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Feb 2003
    Posts
    595
    Quote Originally Posted by Salem View Post
    Code::Blocks is the mid-range IDE which is the workalike successor to Dev-C++.


    Not sure the CodeBlocks team would take that as a compliment, but yeah, get CodeBlocks.

  4. #4
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    1,616
    Mid-Range, high-power shotgun though ...
    Devoted my life to programming...

  5. #5
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by joe8079 View Post
    Hello, I just have a quick question. Is the Dev C++ a good compiler to use for C? I started using miracle C and quickly saw its shortcomings.
    The DevC++ IDE does not provide a pure C compiler and it's badly out of date.

    My suggestion would be to look at PellesC ... smorgasbordet - Pelles C

    This is an IDE, resource editor, debugger, assembler and compiler combined, based on the LCC compiler and updated to C-99 standards. I've written quite a bit of code using PellesC and have no grumbles about it, at all.

  6. #6
    Epy
    Epy is offline
    Fortran lover Epy's Avatar
    Join Date
    Sep 2009
    Location
    California, USA
    Posts
    943
    +1 to Pelles

  7. #7
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,630
    >> The DevC++ IDE does not provide a pure C compiler ...
    The default install comes with GCC 3.4.2 (MinGW) - which does [pure] C and C++. The tool chain could be updated. But the IDE itself is no longer maintained (since '05).

    wxDev-C++ picked up where DevC++ left off and is actively maintained. It supports GCC (MinGW) primarily as well as the Visual Studio tool chain.

    Code::Blocks is an open-source, cross-platform IDE that can integrate with a number tool chains.

    Visual Studio Express is closed-source but free to use, even commercially.

    Full disclosure: Pelles C seems to be closed source and maintained by one guy:
    http://forum.pellesc.de/index.php?topic=1537.0
    Not that it doesn't "get the job done" with little fuss right out of the box. The IDE experience probably isn't as overwhelming for the first-time user as well.

    gg

  8. #8
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Codeplug View Post
    Full disclosure: Pelles C seems to be closed source and maintained by one guy
    Correct... which is one of the reasons I like it... Pelle Orinius is a very capable programmer who develops this for his own use and is generous enough to share with us... The big plus is that it's not going to suffer from the "too many chefs in the pot" problem that so often plagues Open Source projects.

    His license allows you to use it for any C project, personal, free or commercial.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Question about compiler copying objects
    By Sharke in forum C++ Programming
    Replies: 3
    Last Post: 06-15-2009, 08:25 AM
  2. gcc compiler question
    By s_ny33 in forum C Programming
    Replies: 6
    Last Post: 10-18-2005, 07:13 AM
  3. question about bool
    By ssharish2005 in forum C Programming
    Replies: 7
    Last Post: 10-17-2005, 08:18 AM
  4. C/C++ Compiler Question
    By Unregistered in forum C++ Programming
    Replies: 11
    Last Post: 07-09-2002, 02:09 AM
  5. Question: Which Compiler????
    By MaBo in forum C Programming
    Replies: 5
    Last Post: 06-04-2002, 11:57 AM

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