www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/18/12:02:07

From: "Al Amzeen (Alexandr Amzin)" <amzeen AT mtu-net DOT ru>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++, fonts and Allegro
Date: Tue, 18 Apr 2000 19:39:48 +0400
Organization: Fidolook Express page http://fidolook.da.ru
Lines: 20
Message-ID: <8dhvs4$kv0$5@gavrilo.mtu.ru>
References: <8dfmoo$1ga6$1 AT gavrilo DOT mtu DOT ru> <01bfa97e$5465e2c0$e5247d81 AT default>
NNTP-Posting-Host: ppp98-158.dialup.mtu-net.ru
X-Trace: gavrilo.mtu.ru 956072645 21472 212.188.98.158 (18 Apr 2000 15:44:05 GMT)
X-Complaints-To: usenet-abuse AT mtu DOT ru
NNTP-Posting-Date: 18 Apr 2000 15:44:05 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Fidolook Express V1.51rus for MS OE 5.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Greetings, doug and Steamer (answering to both)! You wrote:
Doug:
> 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. ;-)

Steamer:
>C++ doesn't allow implicit conversion from void*, but C does.
>IMHO it's bad practice to write C that won't compile as C++,
>but it's certainly possible.

Thanks for diagnostic, guys, but...how can I cure that hmmm disease? :)

Is there a way to convert it?


- Raw text -


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