Netbeans 6.0 C/C ++ configuration in windows

Source: Internet
Author: User
Tags netbeans

Article Source

 

Netbeans6.0 supports Java SE, Web & Java EE, Mobility, UML, SOA, Ruby, and C/C ++, and covers almost all popular development languages and methods. it would be better to add support for PHP. additional configuration is required for C/C ++ support.

Download the latest version of netbeans6.0 at http://dlc.sun.com.edgesuite.net/netbeans/6.0/final/select download next to all.

After downloading the package, select "Install all". (You can also use the package based on your own needs. However, the C/C ++ component should be selected. Otherwise, the following steps are unnecessary .)

We also need to download a C ++ compiler. We choose Cygwin (at least familiar with UNIX operations) or MinGW.

Download Cygwin

MinGW:

Ftp://gd.tuwien.ac.at/gnu/mingw/

Http://gd.tuwien.ac.at/gnu/mingw/

Cygwin configuration is as follows:

1. Run the setup.exe program. Accept the default settings until you go to the "Select Your Internet Connection" page. Select the option that best suits you on this page. Click "Next ".

2. on the "Choose A Download Site" Page, select A Site that is convenient for you to Download. Click "Next ".

3. On the "Select Packages" Page, Select the package to download. Click "+" next to "Devel" to expand the development tool category. You may need to adjust the window size so that you can see more content at a time.

Click the "Skip" tab next to the package to select each package to download. You must select at least

Gcc-core: C compiler,

Gcc-G ++: C ++ compiler,

GDB: the GNU Debugger

Make: the GNU version of The 'make' utility.

Then install.

Now add the compiler directory to your path variable:

Add the paths of cygwin-directory \ USR \ bin and cygwin-directory \ bin to the PATH variable, and click OK ". By default, cygwin-directory is c: \ cygwin.

Then start netbeans. You can select Tools> Options> C/C ++ to set the options box automatically.

If the above runs normally, you can use netbeans to develop your C/C ++ application.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.