Menggunakan Notepad++ Plus kita download MinGW kita bisa mengkonfigurasinya u menjalankan berbagai aplikasi...misalkan bahasa c
Buka Notepad++ lalu teksn f5 atau RUN
arahkan sbb: gcc -o "$(NAME_PART)" "$(FULL_CURRENT_PATH)"
sehingga jadinya sbb:
C:\MinGW\bin\gcc.exe -o hello C:\MinGW\lat_c\lat2.c
gcc -o "$(NAME_PART)" "$(FULL_CURRENT_PATH)"
gcc is to call compiler
-o is to create executable file with the file name
“$(NAME_PART)” to specify the file name without extension contohnya: helloADI
“$(FULL_CURRENT_PATH)” to specify the current file and its path contohnya:C:\MinGW\lat_c\lat2.c
-o is to create executable file with the file name
“$(NAME_PART)” to specify the file name without extension contohnya: helloADI
“$(FULL_CURRENT_PATH)” to specify the current file and its path contohnya:C:\MinGW\lat_c\lat2.c
For example if we save the file with “hello.c“, then the run command replaces compiler script with
gcc -o helloADI C:\MinGW\lat_c\lat2.c
lalu save untuk membentuk shortcut run program : misalkan CTRL+F9
Selanjutnya kita buat link untuk menjalankan aplikasi helloADI
Sehingga untuk menjalankan kita cukup menjalankan hal sbb:
Use Ctrl + F9 to compile the program
Use Ctrl + F5 to execute the program
+++++++++++++++++++++++++++++++++++
Setiap menjalankan kita bisa compilenya dengan F9 dan menjalankannya (Run) dengan F5
Atau lebih muadh menggunakan Developersnya.....Download :
http://vaultec.mbnet.fi/mingwstudio.php
- Download MinGW Developer Studio 2.05 r10 (IDE only) [837 KB]
- Download MinGW Developer Studio 2.05 r10 + MinGW Compiler [19.2 MB]
Tes Aplikasi:
Jalankan MinGW Developers Pilih Command Console->Tulis Project Name nya:
Selanjutnya Pilih Source File C++







Tidak ada komentar:
Posting Komentar