In my program I use a driver (suppose whose name is red.c).
In red.c file there is the instruction:
#include<red>
which contains defs for the driver.
May I put that instruction in main file and cancel from red.c?
I need to put one function (contained in red.c) in main file and to go on using the other functions contained in red.c file.
Does it work?
Thank you
asmallri
Joined: 12 Aug 2004 Posts: 1634 Location: Perth, Australia
Posted: Fri Jul 14, 2006 5:12 am
If you place the code in red.c inplace of the liine with the include statement then the code compiled will be identical. _________________ Regards, Andrew
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum