www.delorie.com/archives/browse.cgi | search |
From: | Alex Lowe <ayin AT 2xtreme DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: multiple file compiling |
Date: | Fri, 01 Jan 1999 20:19:21 -0800 |
Organization: | TempleCRC |
Lines: | 16 |
Message-ID: | <368D9E49.7F9B597E@2xtreme.net> |
References: | <Pine DOT SGI DOT 3 DOT 95 DOT 990101181531 DOT 7523A-100000 AT paju DOT oulu DOT fi> <19990101213309 DOT 01915 DOT 00005184 AT ng144 DOT aol DOT com> |
NNTP-Posting-Host: | p116.stk2.2xtreme.net |
Mime-Version: | 1.0 |
X-Mailer: | Mozilla 4.5 [en] (Win98; U) |
X-Accept-Language: | en |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
#include <allegro.h> and then after that #include "second.cpp"... order matters.. Hope that helps. -- Alex Twidler444 wrote: > > 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |