j***@gmail.com
2013-01-28 20:37:35 UTC
Hello guys,
please help me with following problem.
I have a.c which includes a.h
i have b.c which includes b.h
i have b.h which includes c.h (c.lib included)
a.c uses some functions which are defined in c.lib.
so i included b.h in a.h therby including c lib functions.
but iam writing something like hardware abstraction layer.
I dont want a.c access c.lib functions directly.
One way is to include c.h in b.c instead of b.h
What would be the standard pro way to do this.
Please help me. (using visual studio 2010 express on windows 7)
thanks,
jis
Show trimmed content
please help me with following problem.
I have a.c which includes a.h
i have b.c which includes b.h
i have b.h which includes c.h (c.lib included)
a.c uses some functions which are defined in c.lib.
so i included b.h in a.h therby including c lib functions.
but iam writing something like hardware abstraction layer.
I dont want a.c access c.lib functions directly.
One way is to include c.h in b.c instead of b.h
What would be the standard pro way to do this.
Please help me. (using visual studio 2010 express on windows 7)
thanks,
jis
Show trimmed content