You are not logged in.

#1 2008-05-23 15:00:19

fiod
Member
Registered: 2007-04-02
Posts: 205

What would you recommend for C Programming?

Hey,

I am just about to start a big C project in my university, and I was wondering if someone would mind
recommending a good C IDE.

I am looking for a reasonable IDE, with a good debugger as well (something resembling Eclipse for Java),
and not writing code with some editor and compiling using gcc from the CLI.

It should support:
API Lookup (if available)
Good debugger
Some automatic way for documentation
Anything else useful

Any suggestions would be appreciated,
fiod

Last edited by fiod (2008-05-23 15:01:26)

Offline

#2 2008-05-23 16:28:59

skymt
Member
Registered: 2006-11-27
Posts: 443

Re: What would you recommend for C Programming?

If you're used to Eclipse, take a look at the CDT.

Barring that, the best C IDE I know of is Emacs. It has a debugger (integration with gdb, complete with GUI), API lookup (a man page viewer), Doxygen integration, and automatic builds with jump-to-error. Oh, and Flymake will blow your mind. The only downside is the learning curve, which is shallow but tall.

Offline

#3 2008-05-23 16:37:22

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: What would you recommend for C Programming?

I used CDT for a while but I didn't like the directions it has headed since eclipse 3.1.  There is also Anjuta and Code::Blocks that should do all you are looking for.  I haven't used either in a while though so I might be wrong...

Offline

#4 2008-05-23 16:44:02

skymt
Member
Registered: 2006-11-27
Posts: 443

Re: What would you recommend for C Programming?

Code::Blocks is for C++ only, so that won't work.

I hadn't considered Anjuta (last time I tried it was the broken release [2.1, was it?]). It doesn't appear to have much in the way of documentation tools, but the rest is there.

Offline

#5 2008-05-24 05:06:45

joe
Member
From: Folsom, CA
Registered: 2004-07-27
Posts: 51
Website

Re: What would you recommend for C Programming?

Are you new to C? If so, I'd say start with the basic tools, and get to know them first.

I think the Emacs suggestion is fantastic.

Offline

#6 2008-05-24 07:27:55

sivad
Member
Registered: 2006-10-31
Posts: 27

Re: What would you recommend for C Programming?

gcc :S

Offline

#7 2008-05-24 09:01:12

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: What would you recommend for C Programming?

I say vim. It can be an IDE if you like, just throw in some plugins!

Last edited by moljac024 (2008-05-24 09:02:22)


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#8 2008-05-24 16:03:32

skymt
Member
Registered: 2006-11-27
Posts: 443

Re: What would you recommend for C Programming?

Vim doesn't have a usable debugger plugin, so that won't do.

Offline

#9 2008-05-25 13:10:31

gnud
Member
Registered: 2005-11-27
Posts: 182

Re: What would you recommend for C Programming?

Is it really that scary to start up a separate debugger?
ddd (a gui gdb frontend) is the best open debugger I know about.

Offline

#10 2008-05-25 22:56:02

lang2
Member
Registered: 2006-02-10
Posts: 386

Re: What would you recommend for C Programming?

If it is really C you want to learn, learn it the hard way by using separate tools: editor, compiler (linker), debugger. Having an ide to do everything within one GUI will just hide you from those valuable knowledge..... just for a while. If you're only trying to pass the course, whatever.

Offline

#11 2008-06-16 01:21:56

venox
Member
From: Curitiba, Brazil
Registered: 2003-08-23
Posts: 137
Website

Re: What would you recommend for C Programming?

lang2 wrote:

If it is really C you want to learn, learn it the hard way by using separate tools: editor, compiler (linker), debugger. Having an ide to do everything within one GUI will just hide you from those valuable knowledge..... just for a while. If you're only trying to pass the course, whatever.

He doesn't want to learn C. He is going to start a new big project using the C language, so he probably already knows the language.

When I'm working on a big Java or C/C++ project I usually go with Eclipse. If not, I just stick with plain old and good CLI and vim wink

Last edited by venox (2008-06-16 01:23:40)

Offline

#12 2008-06-16 02:03:01

sniffles
Member
Registered: 2008-01-23
Posts: 275

Re: What would you recommend for C Programming?

skymt wrote:

If you're used to Eclipse, take a look at the CDT.

Barring that, the best C IDE I know of is Emacs. It has a debugger (integration with gdb, complete with GUI), API lookup (a man page viewer), Doxygen integration, and automatic builds with jump-to-error. Oh, and Flymake will blow your mind. The only downside is the learning curve, which is shallow but tall.

It has a debugger, api lookup, integration, etc. but IMHO the editor part kind of sucks tongue [ vim for life ! ]

Offline

#13 2008-06-16 05:39:35

nsf
Member
From: Yekaterinburg, Russia
Registered: 2007-09-15
Posts: 160
Website

Re: What would you recommend for C Programming?

Vim, gcc it's all you need. Debuggers for the weak. The real problem for big projects is a build system.


Bmpanel2 and obkey developer.

Offline

#14 2008-06-16 08:51:58

neotuli
Lazy Developer
From: London, UK
Registered: 2004-07-06
Posts: 1,204
Website

Re: What would you recommend for C Programming?

Integration isn't everything. One tool for one purpose and all that. I usually do C(++) using vim, ddd, make, and valgrind ... all separately. Interestingly enough I do prefer more of an IDE-feel for java, for which I use eclipse.


The suggestion box only accepts patches.

Offline

#15 2008-06-16 21:29:01

Nax
Member
Registered: 2007-11-07
Posts: 7

Re: What would you recommend for C Programming?

I'm using command line tools like vim, gcc, gdb, valgrind, ...  for C/C++ and scripting languages too.
For Java, I'm using NetBeans since the creation of configuration files and so on is a bit complicated and time-consuming.

Offline

#16 2008-06-17 07:32:18

Anders
Member
From: Sweden
Registered: 2006-05-19
Posts: 48
Website

Re: What would you recommend for C Programming?

What I use:

- premake for the Makefile generation. very slick to use, I maintain the AUR package. You just write a 10 line script and bam it'll generate Makefiles, VS.NET projects, ...

- gedit as an editor

- gdb for debugging

Of course, this doesn't have any of the stuff you wanted. There's only two IDEs I ever liked, VB6 (but I don't like the language) and Komodo (PHP etc)


Running: Arch Linux i686, x86_64, ppc

Offline

Board footer

Powered by FluxBB