NetBeans IDE installation requires JAVASDK to be installed first.
JAVASDK and NetBeans bundled packages can be downloaded directly on the Oracle Web site:
Add the methods supported by C + + and how to install the compilation tool:
Turn from: http://blog.163.com/wodis@126/blog/static/1115955922009101244957740/
If you have installed the NetBeans IDE but do not include C + + support, complete the following steps to add C + + support for the IDE. Choose Tools > Plugins from the main menu. In the Plugins dialog box, click the Available Plugins tab, and then scroll to the C + + category. Select the "C + +" check box. Click Install.
Under the Windows platform, the Netbeans IDE does not have a C + + compiler by default, so you must manually install the C + + compiler, make utility, and the GDB debugger.
Http://www.netbeans.org/community/releases/60/cpp-setup-instructions_zh_CN.html, the official provided C + + configuration method,
We know that the NetBeans C + + package can be used in conjunction with the following compilers and tools:
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
personal prefer to use MinGW3.10 (15M or so), after installation, the default installation directory C:\MinGW\ Bin is added to "My Computer-> the right key properties-> environment variable-> system variable path". The
Restart Netbeans,netbeans will automatically load the MinGW compiler, run discover missing make.exe files, and, after viewing, discover MinGW default installation C:\MinGW\ Bin under only Mingw32-make.exe, no make.exe. Bold attempt to rename Mingw32-make.exe to Make.exe, run the prompt "Mingw32-make not compatible, use Msys make".
Then download MSYS1.0 (around 2.6M) to add the default installation directory "C:\msys\1.0\bin\make.exe" to the path of the make command.
To add a blank C + + application. Compile to run, finally appeared the familiar interface.