Mail Archives: djgpp/1997/05/11/18:16:12
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 -