delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/17/17:43:08

From: "doug" <deleveld AT dds DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++, fonts and Allegro
Date: 17 Apr 2000 21:30:29 GMT
Organization: none
Lines: 21
Message-ID: <01bfa97e$5465e2c0$e5247d81@default>
References: <8dfmoo$1ga6$1 AT gavrilo DOT mtu DOT ru>
NNTP-Posting-Host: client36-229.oprit.rug.nl
X-Trace: info.service.rug.nl 956007029 18701 129.125.36.229 (17 Apr 2000 21:30:29 GMT)
X-Complaints-To: newsmaster AT rug DOT nl
NNTP-Posting-Date: 17 Apr 2000 21:30:29 GMT
X-Newsreader: Microsoft Internet News 4.70.1155
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


Al Amzeen (Alexandr Amzin) <amzeen AT mtu-net DOT ru> schreef in artikel
<8dfmoo$1ga6$1 AT gavrilo DOT mtu DOT ru>...
> I got a problem. Not very big, but annoyin'.
> 
> I cannot compile Allegro ex12.c as C++ source (it contains simple code
for
> changing font from grabber datafile).

Well, C is not C++.  There are different accepted ways to best program
C or C++.  So it is completely normal what you have seen.  You will
see this with lots of C code, not just Allegro.

Basically, since C++ is subtly not the same as C, even thoug if it often
said that C++ is backwards compatible with C, it isn't all the time.
I think you might call is a C++ bug. ;-)

Doug


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019