Date: Mon, 12 May 1997 10:14:18 +1200 From: Bill Currie Subject: Re: OOP and ALLEGRO To: Krystyna de Heras Cc: djgpp AT delorie DOT com Reply-to: billc AT blackmagic DOT tait DOT co DOT nz Message-id: <337644BA.262D@blackmagic.tait.co.nz> Organization: Tait Electronics NZ MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <3370A52D DOT 5372 AT mailbox DOT swipnet DOT se> Precedence: bulk Krystyna de Heras wrote: > > Hi there! > > I have a peculiar question. Can I mix Object-Oriented-Programming with > ALLEGRO. I'm porting my turbo pascal code and want to improve it by make > it object oriented so that I can have a non-fix amount of coords in a > coord-vector. > > Allegro is C and OOP is CC/C++. Is it possible to just include OOP in > C-files and compile? No, but Allegro works just fine in C++ (I'm working on a gui/application framework (based on TurboVision) that uses Allegro in C++). Just #include in your C++ source and away you go. (And man, does Allegro burn rubber!) Bill -- Leave others their otherness.