delorie.com/archives/browse.cgi | search |
From: | Damian Yerrick <DONT DOT YOU DOT DAREd_yerrick AT hotmail DOT comSEND DOT SPAM> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: d_button_proc - errors in C++, but not C? |
Organization: | Pin Eight Software http://pineight.8m.com/ |
Message-ID: | <5b28bsgm80o35ke90em6f8jiihhhta9m1s@4ax.com> |
References: | <77 DOT 1b59be2 DOT 25e49eec AT aol DOT com> <87zossf1pi DOT fsf AT hasn DOT dera DOT gov DOT uk> |
X-Newsreader: | Forte Agent 1.7/32.534 |
MIME-Version: | 1.0 |
Lines: | 28 |
X-Trace: | /KHlxIBL7/eq3UHG0ZUw/Ey7Joz2W2fZ0wJEvbkUgVXtaTn/DqwDsEVOLu+dMiPL3WbbjBeNjIso!kVHqiru1lMkH5gE2OzYTGedP9bPvHmllwN9lrdj4W23U3vMjDax0Y8G7+aQ4jwWWyPcaeLe8jMvJ!8YDLMk4= |
X-Complaints-To: | abuse AT gte DOT net |
X-Abuse-Info: | Please be sure to forward a copy of ALL headers |
X-Abuse-Info: | Otherwise we will be unable to process your complaint properly |
NNTP-Posting-Date: | Wed, 23 Feb 2000 16:25:20 GMT |
Distribution: | world |
Date: | Wed, 23 Feb 2000 16:25:20 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
On 23 Feb 2000 14:11:37 +0000, Ian Miller <itmiller AT dera DOT gov DOT uk> wrote: >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++. There are C++ wrappers for the Allegro DIALOG manager. Find them at the Allegro addons page. -- Damian Yerrick http://yerricde.tripod.com/ Comment on story ideas: http://home1.gte.net/frodo/quickjot.html AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/ View full sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your .sig to prevent the spread of .sig viruses. http://www.mcafee.com/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |