In general, there are 3 things you must do to use a function that resides in an external library or object file:
The same holds for variables. To access a variable that resides in an external object file, you must declare it, and tell the compiler where to find it. The following sections attempt to explain how to do this.