From: cs19 AT cityscape DOT co DOT uk (BDC Client Team) Newsgroups: comp.os.msdos.djgpp Subject: Simple Query on multiple sources Date: Mon, 21 Apr 1997 13:20:16 GMT Organization: IP-GOLD User Message-ID: <861628816.14833.0@itsb.demon.co.uk> NNTP-Posting-Host: itsb.demon.co.uk Lines: 15 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Can anyone help me with mulitple sources? I understand about compiling different sources to .o files and then linking the .o's to a .exe, but I am unsure about #includes. When you have (for example) two sources foo.c and bar.c and you wish to use the allegro library, I assume that you would only need to #include "allegro.h" in the source that has the main() procedure and that you could call allegro routines from within the other one? Any clarification on this would be really helpful Thanks Neil