J
johnnash
Ok I have a doubt regarding .h files. I basically have two modules in
my software program -
a.c and b.c
There is .h file called d.h. d.h contains prototypes of functions in
a.c so whenever i have to use functions of a.c i simply need to
include d.h. My question is can i also add the prototypes of functions
in b.c in d.h so that i only need to d.h in main.c so as to access
functions of both a.c and b.c.
my software program -
a.c and b.c
There is .h file called d.h. d.h contains prototypes of functions in
a.c so whenever i have to use functions of a.c i simply need to
include d.h. My question is can i also add the prototypes of functions
in b.c in d.h so that i only need to d.h in main.c so as to access
functions of both a.c and b.c.