delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/04/20:17:46

Date: Wed, 4 Mar 1998 17:17:16 -0800 (PST)
Message-Id: <199803050117.RAA12469@adit.ap.net>
Mime-Version: 1.0
To: VAMPYR <vampyr AT ms1 DOT accmail DOT com DOT tw>,
"djgpp AT delorie DOT com" <djgpp AT delorie DOT com>
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: a variable type

At 09:34  3/4/1998 +0800, VAMPYR wrote:
>This code:
>===================
>fixed x, y;
>===================
>Is "fixed" a type modifier? (such as int or char..)
>What does it means?

Is this Allegro? If so, `fixed' is a type (I don't know what you mean by
`modifier'). It's used to implement fixed point arithmetic. But if you look
in <allegro.h>, you will see deep magic:

typedef long fixed;


Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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