/* ** Goup members: ** Don Hummels ** ** Lab 1 Example program in C ** ECE 486, Spring 2008 ** ** This is an example "include" file which actually only contains ** the single prototype for the add_10() function. If this include ** file were to support a more complex library of functions, I'd be ** describing the use of the library. ** ** Note that in general, the include-file should contain no executable ** code, and should not define any variables requiring storage. ** Generally, only declarations of data-types and functions are placed in ** the include file. ** ** Any function which is to be accessed by more than one program should ** have an include file associated with it which contains the correct ** function declaration. The include file should be accesed in the ** function source file, and in any calling routine source files. This ** allows the compiler (which only deals with one source file at a time) ** to varify that the single interface declared in the include file is ** in fact being used in all of the source files. ** ** Please follow the "#ifndef" convention illustrated below. It is ** meant to prevent unintentional "multiple includes"... so that only ** one copy of the source that follows can be inserted into a program. */ #ifndef ECE486_ADD_10_H #define ECE486_ADD_10_H void add_10( /* Increment an array by 10 */ double *ptr, /* Array location */ int length); /* Length of the array */ #endif