CDT Plugin for Eclipse

I have recently started using C++ development using eclipse and found it interesting and thought of sharing the setup details here. Main motive for me to use Eclipse CDT (C++ Development Tooling) is that I wanted a uniform IDE for both my Java and C++ needs. Also for my work I keep switching operating systems between Windows and Ubuntu and wanted an IDE which worked on both. CDT solved my needs.

The CDT Project provides a fully functional C and C++ Integrated Development Environment based on the Eclipse platform. Features include: support for project creation and managed build for various tool-chains  standard make build, source navigation, various source knowledge tools, such as type hierarchy, call graph, include browser, macro definition browser, code editor with syntax highlighting, folding and hyperlink navigation, source code re-factoring and code generation, visual debugging tools, including memory, registers, and dis-assembly viewers.

The setup is quite simple, if you are already using eclipse and briefly here are the steps.

  1. Look for the version of Eclipse you are using from Help — About Eclipse. For example, Version: Juno Release.
  2. Go to this link, and look for software repository link corresponding to your eclipse version. For example, corresponds to Juno Release.
  3. In Eclipse, Help — Install new software add the above repository link.
  4. CDT Plugin – Install New Software
  5. Select the required tools and install. At-least install the main features.
  6. Once complete you would be able to create C++ projects just like Java projects.