How to set up C/C++ development environment in Eclipse

Last updated on November 26, 2020 by Adrien Brochard

If you are a C/C++ developer looking for C/C++ IDE to work with, you can consider Eclipse-based IDE. Eclipse boasts of an extensible plug-in system for customizing IDE to support various programming languages including Java, C/C++, etc. Eclipse CDT is one such plugin which converts Eclipse into a fully functional IDE for C/C++ developers.

Eclipse CDT has the following features to help developing C/C++ programs.

In this tutorial, I will describe how to set up C/C++ development in Eclipse by installing Eclipse CDT.

I assume that you already have a working installation of Eclipse ready on your system.

First launch Eclipse, and go to HelpInstall New Software menu.

Click on Add button to add a new repository. Fill in repository name, and specify the URL location of the repository as follows.

Enable checkbox for CDT Main Features and CDT Optional Features, and click on Next button.

Review the items to be installed. Finally, go ahead and install C/C++ development tools on Eclipse.

After installation, restart Eclipse.

To verify that CDT has been installed successfully, go to HelpAbout Eclipse menu, and check if Eclipse CDT icon is listed there.

Support Xmodulo

This website is made possible by minimal ads and your gracious donation via PayPal or credit card

Please note that this article is published by under a Creative Commons Attribution-ShareAlike 3.0 Unported License. If you would like to use the whole or any part of this article, you need to cite this web page at as the original source.

Xmodulo © 2021 ‒ AboutWrite for UsFeed ‒ Powered by DigitalOcean