Mail Archives: djgpp/2000/02/23/12:48:22
Riddler02 AT aol DOT com writes:
> runs perfectly. However, if I change its name to EX13.CPP (or anything.cpp
> for that matter), I get the following error at every occurrence of the
> d_button_proc function when I try to compile:
:)
That's because it's written in C not in C++.
One *can* write code to compile under both languages,
but this Allegro example evidently has not been written that way.
It's not strange, it's just not C++.
Regards,
Ian
--
Ian Miller, Dorset, UK
The views expressed above are those of the writer and do not represent the
views, policy, or understanding of any other person or official body.
- Raw text -