www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/07/20:48:07

Message-Id: <199807080047.BAA00464@sable.ox.ac.uk>
Comments: Authenticated sender is <mert0407 AT sable DOT ox DOT ac DOT uk>
From: George Foot <george DOT foot AT merton DOT oxford DOT ac DOT uk>
To: djgpp AT delorie DOT com
Date: Wed, 8 Jul 1998 01:46:49 +0000
MIME-Version: 1.0
Subject: Re: Help! Djgpp, Allegro, Floats and Ints!!
Reply-to: george DOT foot AT merton DOT oxford DOT ac DOT uk

On  7 Jul 98 at 12:41, DeHackEd wrote:

> Gareth Evans wrote in message <35A18DF3 DOT B7A4007D AT yahoo DOT com>...
> >If you have done basic, then an example is INT(.6738528)  - this will
> >convert the number to 1.
> 
> That works, but put INT in small case. Though typing int (.67) is generally
> acceptable C, most people tend to move the brackets around the int.

It's not acceptable in C.  It is acceptable in C++ though.

-- 
george DOT foot AT merton DOT oxford DOT ac DOT uk

- Raw text -


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