By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,750 Members | 1,214 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,750 IT Pros & Developers. It's quick & easy.

Editor and Debugger in C

P: n/a
Hi everybody,

I am supra beginner in c, and I don't have any clue about the best editors for
C. I am looking something like Eclipse for java, but for C programming and a
good debugger (if there is one) for LINUX.

thank you very much,

Marcelo
Dec 14 '05 #1
Share this Question
Share on Google+
9 Replies


P: n/a
Marcelo said:
Hi everybody,

I am supra beginner in c, and I don't have any clue about the best editors
for C. I am looking something like Eclipse for java, but for C programming
and a good debugger (if there is one) for LINUX.


For Linux programming, I use gdb for debugging and vim for editing, but the
C language doesn't really care what you use.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Dec 14 '05 #2

P: n/a

Marcelo wrote:
Hi everybody,

I am supra beginner in c, and I don't have any clue about the best editors for
C. I am looking something like Eclipse for java, but for C programming and a
good debugger (if there is one) for LINUX.

thank you very much,

Marcelo


There is emacs. However, the learning curve for this editor is a bit on
the steep side. In terms of debuggers, might want to check out DDD
(Data Display Debugger). I'm not that sure if it comes with all Linux
Distributions. It used to be included both RH Linux 9.1 and Suse Linux
9.1

Chad

Dec 14 '05 #3

P: n/a
On Wed, 14 Dec 2005 10:53:35 +0100, Marcelo wrote:
Hi everybody,

I am supra beginner in c, and I don't have any clue about the best editors for
C. I am looking something like Eclipse for java, but for C programming and a
good debugger (if there is one) for LINUX.


I usually use 'kate' as editor, which suits me. As a debugger, i usually
employ gdb, which has quite a lot of (graphical) front-ends like GVD
(which is a nice pun in dutch, by the way).

Dec 14 '05 #4

P: n/a

Richard Heathfield schreef:
Marcelo said:
Hi everybody,

I am supra beginner in c, and I don't have any clue about the best editors
for C. I am looking something like Eclipse for java, but for C programming
and a good debugger (if there is one) for LINUX.


For Linux programming, I use gdb for debugging and vim for editing, but the
C language doesn't really care what you use.


As long as it's an ascii editor.

Believe it or not, I once had to explain that using MSWord does not
result in
compilable code.

Dec 14 '05 #5

P: n/a
kl*****@xs4all.nl said:

Richard Heathfield schreef:
For Linux programming, I use gdb for debugging and vim for editing, but
the C language doesn't really care what you use.
As long as it's an ascii editor.


No, C doesn't care about ASCII either. The ISPF/PDF editor works just fine,
despite using EBCDIC rather than ASCII.
Believe it or not, I once had to explain that using MSWord does not
result in compilable code.


Sure it does. Just tell it to save in plain text format.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Dec 14 '05 #6

P: n/a
J
>I am looking something like Eclipse for java, but for C programming

That would be: http://www.eclipse.org/cdt/

Dec 14 '05 #7

P: n/a
On Wed, 14 Dec 2005 16:04:05 +0000 (UTC), Richard Heathfield
<in*****@invalid.invalid> wrote:
kl*****@xs4all.nl said:

<snip>
Believe it or not, I once had to explain that using MSWord does not
result in compilable code.


Sure it does. Just tell it to save in plain text format.


Although for at least the past few versions of MSWord I have been
unable, even after unticking zillions of checkboxes on dozens of
dialogs, to stop it "correcting" XGronk to Xgronk or fooBar to FooBar.
If what I were writing was actual C code this would be even more
damaging than it is for documentation.
- David.Thompson1 at worldnet.att.net
Dec 26 '05 #8

P: n/a
Dave Thompson said:
On Wed, 14 Dec 2005 16:04:05 +0000 (UTC), Richard Heathfield
<in*****@invalid.invalid> wrote:
kl*****@xs4all.nl said:

<snip>
> Believe it or not, I once had to explain that using MSWord does not
> result in compilable code.


Sure it does. Just tell it to save in plain text format.


Although for at least the past few versions of MSWord I have been
unable, even after unticking zillions of checkboxes on dozens of
dialogs, to stop it "correcting" XGronk to Xgronk or fooBar to FooBar.
If what I were writing was actual C code this would be even more
damaging than it is for documentation.


I have a source-level bug-fix for you. Simply replace the MS Word binary
with (a compiled version of) the following:
/* msword.c - Portable Edition */

#include <stdio.h>
int main(void)
{
puts("Dave, just use vim; you know you want to.");
return 0;
}

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Dec 26 '05 #9

P: n/a
U can use

Anjuta editor which is a free tool
http://www.icewalkers.com/Linux/Soft...40/Anjuta.html

You can find so many free editors in the below link
http://michael.dipperstein.com/free.html

Dec 26 '05 #10

This discussion thread is closed

Replies have been disabled for this discussion.