I’m partial to Netbeans. I think they offer a great IDE for C/C++ development. What I like is that it provides me with the ability to run through the code with a debugger. It also offers code completion. That’s a nice feature especially when you’re searching for the right headers. You can also use and extend the sample projects that are provided.
You basically just need to download the C/C++ plugins, install a GNU C compiler, and configure Netbeans where to find the compiler, make, and debug.
Once you’re in the IDE
Build Tools tab
Point Netbeans to your compilers
C Compiler: /usr/bin/gcc-4.3
C++ Compiler: /usr/bin/g+±4.3
I’ve also used the Dev-C/C++ IDE, which I used on Windows. I thought it was pretty good, but it didn’t offer the feature set that you’ll see on Netbeans.
Thanks for the netbeans info. I’ll give that one a try as well.
I installed codeblocks and it is working fine. Just one question regarding the code completion functionality: Code completion correctly displays function parameter name/type when I type in the name. This works as long as the function is one that is defined locally. How do I make it work also for system and library functions? i.e. for printf(), etc? I’m sure there is a setting for this but so far I haven’t found it.
I’d assume KDevelop would run under Gnome, never tried to do so however.
You might want to check out Qt Creator. It’s rather new and looks extremely polished. It makes me want to learn C++ so I don’t have to work with a horrible looking IDE
(Eclipse under KDE looks horrible… works great though)
To get a general idea, you might want to check one of the videos on youtube demonstrating it’s functionality.
How about Eclipse? It’s cross-platform and seems to work for just about
everything. I’ve used it a bit and enjoy it quite a bit.
> For C and some C++ development , I need to move beyond gedit… This is
> for NON-gui application development - purely console apps at this
> It seems that kdevelop and netbeans are viable. I use gcc compiler.
> 1. My assumption is that kdevelop only runs under KDE. Is this true or
> can I install it in a gnome environment? If the kdevelop is the way to
> go then I would make the switch to KDE.
> 2. Is netbeans a decent IDE for C and some C++? I see few comments on
> it in the forums.
> 3. Comment on other IDEs are welcome also.
> Thanks for the help, any comments would be appreciated.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
not an IDE but my favourite application for c/c++ development is Geany. Unlike Kdevelop, Netbeans, QtCreator, Monodevelop and Codeblocks , Geany allows me full control over the build process, not to mention I really like the editor it provides, as well as the fact that I can create my own autocomplete data for whichever libs I plan on using.
QTcreator also has an excellent editor that allows easy navigating of symbol definitions.