1. go to http://www.cygwin.com and install the base package and add “gcc”
2. pick up wordpad and type

#include <stdio.h>

int main(void) {

 printf("Hi there mr programmer!\n");

  return 0;

3. save the text as “salute.c” in C:\
4. open “rxvt” from the Start>Programs>cygwin
5. as the $ prompt appears type…

cd ‘C:\’
dos2unix salute.c
gcc -o salute salute.c

… and hit enter for each line.
For each line and “enter” a new prompt appears within in a few seconds… (assuming you typed the above correctly)… now type


and hit enter again… the response should be:

Hi there mr programmer!

More info:

edited: “stdio.h” in angle brackets got lost in the HTML-jungle.