View Single Post
Jul25-06, 03:37 PM
Sci Advisor
PF Gold
chroot's Avatar
P: 10,427
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