View Full Version : IDE for develop C progs
inp3dance
21st November 2009, 10:30 PM
Hi,
Can somebody suggest me an IDE for write, compile and debug simple C files. I just started learning and programming in C under linux, so I make simple programs, not complex projects. I need an IDE wich can load, compile, run step by step C progs without creating projects. Like the good old Borland C 7.1 was wich I used back the days in high school :D
I know this question was put like a million times, but with I have Anjuta, KDevelop, Eclipse installed, and need to debug my programs with gdm in command line.
Thank you in advice!
tashirosgt
23rd November 2009, 05:55 AM
You mean you debug them with "gdb" (not "gdm")?
I haven't used any of these, but the wikipedia has a list of front ends for debuggers:
http://en.wikipedia.org/wiki/Debugger_front-end
RupertPupkin
23rd November 2009, 01:38 PM
Debugging with gdm would be pretty impressive. That would be a whole new level of 1337-ness. :)
newiLuvatar
23rd November 2009, 02:27 PM
I think you should be able to do that with Eclipse using the C/C++ plugin...
pankajp
23rd November 2009, 03:21 PM
I think you should be able to do that with Eclipse using the C/C++ plugin...
Yes you should be able to debug in each of those IDEs. For example in eclipse in the toolbar just beside the run button is the debug button. You can set break points by double clicking on the left margin in the text editor. You should be easily able go on it. If you want more instructions they are available on the internet. And i's suggest use of the integrated debuggers in IDE instead of standalone ones.
EDIT: Sorry for not reading your post completely (You do _not_ want to make projects). I think codeblocks (in the repos) may be able to do just that without making projects. You may try it if it suits you.
pete_1967
23rd November 2009, 06:38 PM
Hi,
Can somebody suggest me an IDE for write, compile and debug simple C files. I just started learning and programming in C under linux, so I make simple programs, not complex projects.
If you really want to learn, do it hard way. Use text editor to write your code, use gcc to compile from the command line and gdb to do debugging. That's the only way to learn just not how to hack code (a'la Visual Studio "developers"), but how it all fits together and to understand what is going on.
Once you've learned the hard way, you can enjoy the comforts of your fancy IDE without compromising the quality and efficiency of your code just because you never learned anything else but drag and drop bits onto edit window.
There will also come a day you don't have your IDE available but you still need to get job done and unless you know how to do it without help, you'll be stuffed.
newiLuvatar
24th November 2009, 01:09 AM
I'd have to agree with pete...
aleph
24th November 2009, 02:03 AM
And don't forget valgrind. :D
manhh
24th November 2009, 05:15 PM
hi,
how do you think about qt-create?
it supports c, c++ and qt-lib.
http://qt.nokia.com/products
AND
yum search qtcreate
maybe you dislike again:(
kramulous
26th November 2009, 02:52 AM
Agree with Pete also. Except with the IDE part ... but then again, I don't work for a big software house.
alwinl
6th December 2009, 10:40 PM
Hi,
Can somebody suggest me an IDE for write, compile and debug simple C files. I just started learning and programming in C under linux, so I make simple programs, not complex projects. I need an IDE wich can load, compile, run step by step C progs without creating projects. Like the good old Borland C 7.1 was wich I used back the days in high school :D
I know this question was put like a million times, but with I have Anjuta, KDevelop, Eclipse installed, and need to debug my programs with gdm in command line.
Thank you in advice!
Just to clarify something; Are you new to C programming or new to Linux. If you have experience programming C under Windows/DOS but new to Linux I completely agree with Pete. Start by using a simple editor like Kate or gEdit and enter compilation commands on the command line. Then learn "make" and next the automake tools. Don't use an IDE until you understand the Linux way of building software.
I can understand that you might think that this is overkill because it's just a couple of simple programs you need to compile and debug but the time you could spend setting your IDE up correctly could be equal to learning the make/automake process.
Even if you are lucky and you manage to set your IDE up without understanding the background there will come a time when you get into trouble and you will be (as Pete so eloquently puts it) stuffed.
Good luck
Alwin
flamedart
26th February 2010, 01:48 PM
For simple C programs use Geany text editor which can also compile them.
foldingstock
26th February 2010, 02:18 PM
Codeblocks is pretty nice. It is in the repos and is cross-platform. I use it often for C/C++ projects. Worth taking a look at.
purpleautumn
26th February 2010, 10:49 PM
If you want to start to be a productive programmer use one of these full blown text editors for the true hackers :
Vim (http://www.vim.org/) or Emacs (http://www.gnu.org/software/emacs/)!
..Choose Your Destiny!..
+ I'd recommend Eclim (Vim + Eclipse). All you need in one place. Start hacking around. http://eclim.org/
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.