next up previous contents
Next: 15.2 List Files Up: 15 IC File Formats Previous: 15 IC File Formats

15.1 C Programs

All files containing C code must be named with the `` .c'' suffix.

Loading functions from more than one C file can be done by issuing commands at the IC prompt to load each of the files. For example, to load the C files named foo.c and bar.c:

C> load foo.c
C> load bar.c

Alternatively, the files could be loaded with a single command:

C> load foo.c bar.c

If the files to be loaded contain dependencies (for example, if one file has a function that references a variable or function defined in the other file), then the second method (multiple file names to one load command) or the following approach must be used.



Fred G. Martin
Fri Mar 29 17:44:15 EST 1996