0

I want to start developing c++ programs in the linux platforms. So can anyone tell me where to start learning c++ for linux, the compiler, etc.

Thanks in advance :)

jaykumarark
  • 2,359
  • 6
  • 35
  • 53

2 Answers2

8

Do a quick

sudo apt-get install build-essential

and you will have a C++ compiler which you invoke with g++.

As for learning resources, there are vast amounts of information for C++ programming. Your best bet is to google for phrases like "linux c++ programming".

Don't forget to check this SO post, which is the definitive C++ book guide.

Community
  • 1
  • 1
darioo
  • 46,442
  • 10
  • 75
  • 103
0

I use Ubuntu. I currently use Code:Blocks for my IDE (in the Universe repository) and Visual Paradigm Home Edition for my design/development software (it's not in the repository but is free). You will need build-essential to use Code:Blocks, as the other poster suggested. I also like gdb for the purpose of figuring out where a segfault happens and the like.