TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DAVE BOYD
from: ROGER SCUDDER
date: 1997-07-22 11:50:00
subject: Re: Please help me

If I have my source code...graph.c and I compile it giving me my graph.obj, 
how
on this earth do I manage to get my graph.h file to #include in later 
rograms
? Maybe there is an easy answer but I just cant seem to work it out.
 
In Borland C++ I think the easiest way is to always create a Project
for each program you are working on.  To include program A in program B
copy the source files for program A into project B.  I think this will 
be easiest for the newbie.  
You can also, of course make a Library containing obj files you want to 
use in other programs.  You would also make a header file containing the
prototypes and decelerations needed to use the library routines.  You
would '#include' this header file in source that calls the library
routines.
Best bet would be to browse local book stores for Borland C reference
that covers creation and use of libraries.   
--- AdeptXBBS v2.14(WC) (*FREEWare/2*)
---------------
* Origin: The Cereal Port BBS 603-899-3335 199.125.78.133 (1:132/152)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.