| delorie.com/archives/browse.cgi | search | 
| Newsgroups: | comp.os.msdos.djgpp | 
| From: | tob AT world DOT std DOT com | 
| Subject: | Re: OOP and ALLEGRO | 
| Message-ID: | <EA1KE8.8J5@world.std.com> | 
| Sender: | tob AT world DOT std DOT com (Tom Breton) | 
| Reply-To: | tob AT world DOT std DOT com | 
| Organization: | BREnterprises | 
| References: | <3370A52D DOT 5372 AT mailbox DOT swipnet DOT se> | 
| Date: | Mon, 12 May 1997 00:08:32 GMT | 
| Lines: | 17 | 
| To: | djgpp AT delorie DOT com | 
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp | 
Krystyna de Heras <krystyna DOT de DOT heras AT mailbox DOT swipnet DOT se> writes:
> 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?
I do it all the time. Assuming there are no other problems, just
#include "allegro.h" and go. It's set up so that it can be included in
C++ without a hitch.
> Wondering in the cold dark Sweden/ Pablo de Heras
        Tom
| webmaster | delorie software privacy | 
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |