San Diego State University

Technical Briefs

ROHAN help Files

----------------------------------------------------------------------

cc

cc is a compiler on the UNIX system. cc pre-processes the source code, compiles it and then creates an executable file with a default name of a.out.

The command to compile a C-language program is

rohan% cc filename.c

The resulting executable will be left in a file named a.out in the directory.

To run it, type:

rohan%  a.out

----------------------------------------------------------------------


BACK ROHAN Help Index | Academic Computing Handouts, Manuals, and Help Files