IDE questions

For C and some C++ development , I need to move beyond gedit… This is for NON-gui application development - purely console apps at this point.

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. :slight_smile:

Hi
Code::Blocks http://www.codeblocks.org/
http://software.opensuse.org/search? or add
http://download.opensuse.org/repositories/devel:/tools:/ide/<your_release>


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.39-0.3-default
up 4 days 11:45, 4 users, load average: 0.08, 0.12, 0.14
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Thanks for the link to codeblocks. I’ll give it a try.:slight_smile:

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

  1. Tools
  2. Options
  3. C/C++
  4. Build Tools tab
  5. Point Netbeans to your compilers

ex.
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.

Thanks :slight_smile:

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 :wink:
(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.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

Good luck.

rjgundo wrote:
> For C and some C++ development , I need to move beyond gedit… This is
> for NON-gui application development - purely console apps at this
> point.
>
> 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. :slight_smile:
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJLSlsOAAoJEF+XTK08PnB5PnEP/2+i/Guux+my8kWMYQxxww7l
C9bbimmyW/zQ+hOqwGMJv5Ls4apXSz3tIak8GItNdLkoNn7aXSD6YIffc1tdGMoS
5TLOqWxqoAT0AO/JvImXufINCbsFDcLDTW+tQSCNSHlZnvCfvC/Xf8EKSUDJB+Xk
RczmlhD/Tg/61rP0X7MUElf8AwfCsVZZjI9rPEbXNICyY7y54ww7vXyBEarM1tg8
kZF1a4o4Ha7M5M02dj6SHBl48hFqEsM3OgUloDf+jyYzFpYidBnBsbCrU+D4sNUG
MyNYm91eH3LGDDSzI5cgKZEbXklPzBJV38YrbW6ihmsIi/W+7S6OrBdxF6xuvdTz
mbQgTiRKYiiRMkM509X4vwvWzuS6NOp+f7UnUXie/HuGu6wRKarfoVdutzv0q0cp
Dyl+6z3WmZMMt/r7747huK3sckjz5HASq5xMkRR50UBD2AIX8Ma/AV7n5i9irItq
/td8KAAg+4es2kjniCbSW66MjilSPD3xh789XjC0MdHeA0QeSbjzdcPcaDDjsxCf
qikEQdf2SGRyzL5kih6tAjrg58tOHs4ik3nfAfzzHC/39vEFQJOlLjS89AQXwMP0
Wsd5BPJTDVwwP3CLK7OtFezWdRwjELfQiRhJfJVNAtNkYPD98Pdy5nIOKAVtTmtP
grREULY76U1WTrznHGPo
=Jf2n
-----END PGP SIGNATURE-----

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.