next up previous
Next: C is similar to Up: September 11 Previous: Introduction to UNIX


Introduction to C

We use the Gnu compiler gcc. Here's an example, assuming that somebody created a C source file called program.c in the current directory:

gcc -Wall -ansi -pedantic -o program program.c



Danny Heap 2002-12-16