www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/11/18:16:12

Date: Mon, 12 May 1997 10:14:18 +1200
From: Bill Currie <billc AT blackmagic DOT tait DOT co DOT nz>
Subject: Re: OOP and ALLEGRO
To: Krystyna de Heras <krystyna DOT de DOT heras AT mailbox DOT swipnet DOT se>
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
References: <3370A52D DOT 5372 AT mailbox DOT swipnet DOT se>

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 <allegro.h> in your C++ source and away you go. (And man,
does Allegro burn rubber!)

Bill
-- 
Leave others their otherness.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019