Mail Archives: djgpp/1997/05/13/05:03:46
In article <3370A52D DOT 5372 AT mailbox DOT swipnet DOT se>,
krystyna DOT de DOT heras AT mailbox DOT swipnet DOT se says...
>
>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?
>
>Wondering in the cold dark Sweden/ Pablo de Heras
Yes. I have found that this works wonderfully. Far better than if
Allegro was native OO, since *I* get to decide how I want things
implemented. I eat/breathe/sleep OO (I cringe at the thought of having
a non const-correct function) and I love allegro. Of course, it would
be nice if someone coded a library in native OO that was identical to
my implementation of allegro, but that would be rather inflexible
nevermind unlikely. Keep it C!!!
- Calvin -
- Raw text -