A. Sidiq Purnomo

Universitas Mercu Buana Yogyakarta

You are here: » Install C/C++ compiler for NetBeans IDE (Windows 7 Environment And Ubuntu)

Install C/C++ compiler for NetBeans IDE (Windows 7 Environment And Ubuntu)

Windows 7

To run C/C++ programs through the NetBeans IDE you can use MinGW package. To do this, use the following;

  • MinWG (mingw-get-inst-20110530 or Later) –> Minimalist GNU for Windows
  • JDK (jdk-6u26-windows-i586 or Later)
  • NetBeans IDE (Netbean 6.71 Or Later)

 


Steps 1 : MinGW

  1. Download MinGWHome Page and Download : http://www.mingw.org
  2. Install MinGW

Step 2 : JDK & NetBeans

  1. JDK

    JDK is not necessary if using NetBeans 7.0 IDE (Because in NetBeans 7.0 already include JDK)

  2. NetBeans IDE

Step 3 : Configure Path

  1. Open Properties Computer –> Ring click icon My Computer –> Click Properties
  2. Click Advanced Systems Setting –> Environment Variables
  3. In System Variables –> Find path and then double click
  4. Input this commandC:MinGWbin; andC:MinGWmsys1.0bin;
  5. Click Ok 3 X.

C_01

Step 4 : Configure NetBeans IDE for MinGW

  1. Open NetBeans
  2. In the NetBeans Window (main menu) click Tool –> Options
  3. Click C/C++ tab
  4. In the build tool tab set the following settings

C_02

Step 5 : Create new Project

    1. In the main menu click File –> New Project
    2. In Course Project :Categories = C/C++Projects = C/C++ Application

      and then click button Next> and Finish

C_1

    1. Go to Project Window –> click Source Files –> double click main.c
    2. Type the following simple program :

C_2

  1. Compile and RunCompile : Go to main.c –> Right click and click Compile FileC_3Run : Go to menu Click Run or in keyboard press button F6
C_4
C_5

Ubuntu (Linux)

Step 1 : Configure C/C++ Compiler
  • Klik this link for view tutorial :
Step 2 : JDK & NetBeans IDE
  • Follow step 2 as such on the installation of Windows 7
Step 3 : Configure NetBeans IDE
  • Follow step 4 as such on the installation of Windows 7
Step 4 : Create new Project
  • Follow step 5 as such on the installation of Windows 7
* … Good Luck … *
Print Friendly, PDF & Email
Posted by 1 Response
 

Free Email Newsletter

Stay Updates with this Blog. Get Free email newsletter updates..

And then confirm your email subcription

   

One Comment to “Install C/C++ compiler for NetBeans IDE (Windows 7 Environment And Ubuntu)”

  1. dnd says:

    ok let me be displayed on your web site, may also display a reference to my website (website beginning: sq.web.id -> all content will be gradually I moved to this website -> http://sidiq.mercubuana-yogya. ac.id), by: DND

Leave your comment here:

Secure * Time limit is exhausted. Please reload the CAPTCHA.

Jun
26
2011
 


Popular Posts