Hi Dave
Dave Boyd,
In a message on 19 July, wrote :
DB>
DB> If I have my source code...graph.c and I compile it giving
DB> me my graph.obj, how on this earth do I manage to get my
DB> graph.h file to #include in later programs ?
You don't !
Break your source code into graph.c & graph.h.
Put all your function prototypes (declarations) in graph.h
along with all global variables that you want to use in later
programs.
Define (implement) these functions in graph.c.
There you are
Bye
Rajesh
...
* ATP/Linux 1.42 * I have seen the future and it is now the past.
--- Maximus/2 3.01
---------------
* Origin: Kalptaru Net India. http://www.kalptaru.com . (6:606/31)
|