From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: OOP and ALLEGRO Date: 11 May 1997 19:55:37 GMT Organization: Oxford University, England Lines: 15 Message-ID: <5l587p$7pa@news.ox.ac.uk> References: <3370A52D DOT 5372 AT mailbox DOT swipnet DOT se> NNTP-Posting-Host: sable.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Krystyna de Heras (krystyna DOT de DOT heras AT mailbox DOT swipnet DOT se) wrote: : Allegro is C and OOP is CC/C++. Is it possible to just include OOP in : C-files and compile? You can write C++ files which use Allegro; that shouldn't be a problem at all. Just end your filenames with `.cc' instead of `.c' and you'll be writing C++ programs. Use gxx as the linker, still put `-lalleg' on the end of the command line. #include as normal. FYI the setup program that comes with Allegro is C++. -- George Foot Merton College, Oxford