Mail Archives: djgpp/1997/05/11/23:02:43
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 <allegro.h> as normal.
FYI the setup program that comes with Allegro is C++.
--
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford
- Raw text -