Jump to content

Compiler for C++ (ubuntu)

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
ahmed

ahmed

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 304 posts
I just installed ubuntu 2 days back and i wanted to know which is the best compiler for C++ ? I use Visual C++ 6 on WinXP but i don't really know abt ubuntu as i just started using it :pinguin:

#2
ZekeDragon

ZekeDragon

    Writes binary right handed and hex left handed

  • Moderators
  • 2,103 posts
Ubuntu comes with gcc preinsalled, so you've already got a C compiler, and you can easily add g++ to that by using "sudo apt-get install g++". That's pretty much the de-facto standard compiler for Linux users.

You should also look around on the Software Center for a good IDE or text editor to go with that in your development. A lot of people swear by Vim or Emacs, so you could take a look at them, or you can get a full-fledged IDE like Geany, Code::Blocks, or Anjuta.
Wow I changed my sig!

#3
Feral

Feral

    Programmer

  • Members
  • PipPipPipPip
  • 162 posts
I agree that Vlm and Emacs are quite popular, that I have never found them to be my flavor. I personally use Code::Blocks when working in Linux it is a very full featured IDE and I do like it a lot.

#4
ahmed

ahmed

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 304 posts
thanks Zeke and Feral , first i am gona install g++ and yes feral i heard about code blocks so will download it :)