View Single Post
Jul25-06, 03:37 PM   #3
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
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"

- Warren