Netbeans 9 C++ Support

Cergey Chaulin picture Cergey Chaulin · Jul 24, 2018 · Viewed 14.6k times · Source

I wonder if there is a support for C++ in Netbeans 9. This link shows C++ on screenshot (when creating new project). However, after installing, I don't have one.

Answer

skomisa picture skomisa · Jul 29, 2018

I wonder if there is a support for C++ in NetBeans 9.

The answer to that is definitely no, and definitely yes...

  • No, in the sense that the use of C++ on NetBeans 9 is not currently supported by Apache, and it is done at your own risk. NetBeans is currently being handed over from Oracle to Apache, and they haven't got to the C/C++ part yet. See What's Happened to My Favorite NetBeans Plugins? for more information.

  • Yes, in the sense that it is technically feasible to do it; the NetBeans 9 IDE allows you to use C/C++.

This is what you need to do:

Step 1 of 2: Make C/C++ available as a plugin.

  • Tools > Plugins > Settings tab > click the Add button.
  • On the Update Center Customizer screen:
  • This should create a new entry in the Configuration of Update Centers list in the Settings tab.
  • Checking that new entry should instantly add plugins to the Available Plugins tab.
  • Click the Available Plugins tab, then click the Category column to sort the entries by category.
  • The Name of the entry at the top of the list should be C/C++. If so, you have successfully made the plugin available:

    availablePlugins

Step 2 of 2: Install the C/C++ plugin.

  • Check the C/C++ entry shown in the screen shot above, and then click the Install button.
  • Follow the wizard's instructions. The plugin will be downloaded and installed, and you will be required to restart NetBeans.
  • To confirm that C/C++ has been installed, click Tools > Plugins > **Installed tab. You should see an entry for the C/C++ plugin you just installed.
  • Also, verify that you can now create a C/C++ project through the Project wizard:

    C++Project

Notes: