MinGW Create Application C Console Application

 

- Info:

- This tutorial shows how to use MinGW to create C Console Application.

 

- Single Source File:

- Create C:\Temp\Test.c Start MSDOS

- cd C:\Temp

- gcc Test.c -o myprog.exe

- myprog.exe

 

Test.c

#include <stdio.h>

int main() {

printf("Hello World!");

return 0;

}