Please find the steps below to configure NetBeans for C/C+
1. Choose Tools -> Plugins. Click Settings tab. Check NetBeans 8.2 Plugin Portal.
2. Click the “Available Plugins” tab. Click on "Check for Newest" button, and select the C/C++checkbox. Click install.
3. Agree to the license agreement in NetBeans IDE Installer. Click on "Continue" when the pop up appears. After installation, restart NetBeans.