Download C + + support
If you don't have the NetBeans 6.0 IDE, go to the NetBeans IDE 6.0 download page to download a version of the IDE that contains the support for C/C + +. If you have a NetBeans IDE 6.0 Setup program that does not contain C + + support, complete the following steps to add C + + support to the IDE.
If the network uses a proxy server, select Tools > Options from the Main menu, select Manual Proxy Settings, enter your proxy address and port number, and then click the OK button. </li>
Select Tools > Plugins from the main menu.
In the Plugins dialog box, click the Available Plugins tab to scroll to the C + + category.
Select the C + + check box.
Click the Install button.
Setup starts running.
In the NetBeans IDE Installer, click the Next button.
Read the license agreement, select the I Accept the Terms in all License Agreements radio button, and then click the Next button.
Click the Install button.
After the installation is complete, you can choose to restart IDE now, or you can select Restart IDE later and click the Finish button.
Installing and setting up compilers and tools
The Netbeans c/C + + package requires the C. Compiler, the C + + compiler, the make utility, and the GDB debugger.
Windows
The following compilers and tools are available for use in NetBeans/C + + packages, as tested:
Cygwin 1.5.21
Cygwin Gcc-core (C compiler) 3.4.x
Cygwin gcc-c++ (c + + compiler) 3.4.x
Cygwin gdb (GNU debugger) 6.5.50
Cygwin make 3.80
If you have installed the Cygwin GNU compiler, GNU make, and GDB debugger on your Windows system and set their paths correctly so that you can find them, make sure that you are using the correct version. If you have the correct version installed, you do not need to set it again.
Check the version of the Cygwin compiler and tool:
To view the version of Cygwin, type:
cygcheck -c cygwin
To view the compilers, make, and GDB versions, type:gcc --version
g++ -- version
make --version
gdb --version