Re: How to use #include
Dear OP, let's start simple. As I understand it, be sure to declare functions in a module, before you use them. #include just copies in what's in the included file. So, have your function prototype in an include file such as includes.h
void foo(int a, intb);
Near the top of MyOtherFile.c have the include directive. Double quotes indicate that the include file is in the same directory.
Now in MyOtherFile.c you can have a call to foo( ). Note that without a function prototype the compiler would assume that the function returns an int.