Download and install Cygwin
, which includes a C compiler.
Use your favorite text editor to write up a small C program.
Open the Cygwin bash shell, and type the command:
gcc -o hello hello.c
This command compiles the source file "hello.c" into the executable file "hello."
Then, run the executable by typing "./hello"