·  Ultra Edit – Environment – Tool Configuration – C

 

- Info: 

  - This tutorial demonstrates how to use Ultra Edit Tool Configuration to compile and run C programms.

 

- Create tool for compiling .c source code:

  - Advanced – Tool Configuration

  - Command Line:     H:\Installed\Programming\MinGW\bin\gcc.exe  %f

  - Working Directory:  %p

  - Menu Item Name:   GCC

  - Insert

 

- Create tool for running executables .exe:

    –   Advanced – Tool Configuration

  - Command Line:     %pa.exe

  - Working Directory:  %p

    - Menu Item Name:   EXE

  - Command Output:  Output to List Box          (Output is shwon in: Window – Output Window)

  - Capture Output:    select

  - Insert

 

- Create source code:

  - File – New – Paste test.c

  - File – Save as – File name: test.c – Save

 

- Compile & Run:

  - Advanced – GCC

  - Advanced – EXE

 

    test.c

    #include <stdio.h>

    

    int main(void) {

      printf("%s","Hello World!!!");

      return 1;

    }