This tutorial will take you through the process of running a C/C++ program with the Netbeans IDE (Integrated Development Environment) using screenshots as tools for understanding and clarity. This article is written for use with Windows,...
Part 2 of 5:
Installing Cygwin Compiler and Debugger

Create a Folder on the Desktop and name it Cygwin
Open the Cygwin InstallerClick the "Next" button on the window that comes up
Click Install from Internet, Click Next, then Click Next on the Second windowMake sure on the Third Window that the path is setup to the desktop folder
Select a Download Site and click NextReally does not matter what site is chosen, however download speed may be affectedInstall Compiler and DebuggerOn the Window that pops-up select the '+' next to Devel
Find the files called gcc-core, gcc-g++, gdb: GNU Debugger, and 'make', and click the 'Skip' button to the left ONCE.
Click NextIt will install the parts and then ask if you want shortcuts, you do not need theseCreate the Cygwin PathOpen your control panel and select "System and Security", then select "System"Click Advanced System SettingsNear the bottom of the new window there will be a button called "Environmental Variables", select it
In the window that pops up scroll down to Path, select it and click EditAt the end of the highlighted text (DON'T DELETE IT) add, with no spaces at all, ";cygwin-directorybin" 
Part 3 of 5:
Installing Netbeans
Open the Netbeans InstallerAllow program to run, if asked for permission, and wait for installer to configure
When the installer OpensClick NextAgree to the user agreement and select NextAllow the installer to save and install the files on the next two windows to the default locationsClick InstallYou can choose whether to send usage data or notPart 5 of 5:
Troubleshooting
Be sure to install the Cygwin compiler and debugger first. It allows the IDE to auto-find it in your systemIf Cygwin does not appear in the tool collection field, be sure that its path is added to the Environment VariablesIf the project does not build or run correctly, be sure to look carefully at the final screenshot and make sure that all parts in the text editor look the same
Samuel DanielUpdate 05 March 2020
ncG1vNJzZmismaXArq3KnmWcp51ktbDDjK2mZqqlo3qkr4ypqaifopa6brXNZqWerJKarq%2B%2FjKilZq%2BZo7Gww9I%3D