Thread: Which Compiler?

  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    13

    Which Compiler?

    Hi.

    Was just wondering if anyone could recommend me a developing environment for c. Im currently using miracleC, but Im after something more along the lines of IntelliJ IDEA for java. Free would be best, but so long as it has a free trial period, Im willing to try any.

    Thanks in advance for any replies, and hi to everyone on the forum...

  2. #2
    Registered User
    Join Date
    Aug 2005
    Location
    Austria
    Posts
    1,990
    DId you read that

  3. #3
    The Richness... Richie T's Avatar
    Join Date
    Jan 2006
    Location
    Ireland
    Posts
    469
    That list doesn't mention code::blocks - a nice IDE in early development, but
    still is quite stable. Takes a little setting up to get it the way you want it, but
    it's not too difficult. I'd recommend Dev-C++ as well for beginners, I used it for
    a good while, and also if you have a broadband connection then MS VS C++
    2005 is also an option. Dev is probably most suitable though. All of these
    are free downloads - see my sig for links.
    No No's:
    fflush (stdin); gets (); void main ();


    Goodies:
    Example of fgets (); The FAQ, C/C++ Reference


    My Gear:
    OS - Windows XP
    IDE - MS Visual C++ 2008 Express Edition


    ASCII stupid question, get a stupid ANSI

  4. #4
    Registered User
    Join Date
    Aug 2006
    Posts
    13
    So can I use a c++ IDE for c programs. I realise they are a similar language, but I assumed the OOP aspects of c++ meant it would have dedicated IDE's..

    Cheers for the help though guys...

  5. #5
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >So can I use a c++ IDE for c programs.
    Yes. Almost all C++ compilers will support a switch for C-only compilation, so you've basically got both a C and C++ compiler rolled into one. But please don't confuse that as C++ being a superset of C. That's a common mistake that causes subtle problems.
    My best code is written with the delete key.

  6. #6
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Quote Originally Posted by HIM
    So can I use a c++ IDE for c programs. I realise they are a similar language, but I assumed the OOP aspects of c++ meant it would have dedicated IDE's..

    Cheers for the help though guys...
    An IDE is just an IDE... you can write a C program in a Java IDE if you want. C++ has all the syntax of C and then some. So long as you stick to C syntax all of the coloration and boldening/italicizing in a C++ IDE will be exactly the same. However, if your C++ IDE is distributed with a compiler, make sure you compile as a C program. C and C++, while very similar in syntax has several fundamental differences in rules. Some things will work as a c++ program but not as a c program.

    Edit: Did I really take more than two minutes to right that?
    Sent from my iPadŽ

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiler Paths...
    By Cobra in forum C++ Programming
    Replies: 5
    Last Post: 09-26-2006, 04:04 AM
  2. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 11:07 AM
  3. I can't get this new compiler to work.
    By Loduwijk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2006, 06:42 AM
  4. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 11:28 AM
  5. Bad code or bad compiler?
    By musayume in forum C Programming
    Replies: 3
    Last Post: 10-22-2001, 09:08 PM