From: twidler444 AT aol DOT com (Twidler444) Newsgroups: comp.os.msdos.djgpp Subject: Re: multiple file compiling Lines: 7 NNTP-Posting-Host: ladder01.news.aol.com X-Admin: news AT aol DOT com Date: 2 Jan 1999 02:33:09 GMT Organization: AOL Canada http://www.aol.ca References: Message-ID: <19990101213309.01915.00005184@ng144.aol.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com The problem is that I use a allegro. and I initiate the mouse routines in the main(). and my second.cpp uses the mouse variables. I get an error because I include the second.cpp at the beginning of the program and the mouse_x, mouse_y and mouse_b has not been declared yet. Is there any way around this problem? Twidler