delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/03/09:00:06

Path: news.mv.net!news.shore.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeeds.belnet.be!news.belnet.be!btnet-peer1!btnet-peer0!btnet!mendelevium.btinternet.com!not-for-mail
From: "Thomas Harte" <T DOT Harte AT btinternet DOT com DOT KILL_PART>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: hex calculation routine!?
Date: Sun, 3 Sep 2000 13:21:33 +0100
Organization: BT Internet
Lines: 14
Message-ID: <8otfsg$6pt$1@plutonium.btinternet.com>
References: <8os0j3$bba$1 AT neptunium DOT btinternet DOT com>
NNTP-Posting-Host: host62-7-90-42.btinternet.com
X-Newsreader: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Xref: news.mv.net comp.os.msdos.djgpp:103123

>a = 0x800F0F0F+0x8F0;
>printf("%x", a);


Sorry, just to make that entirely clear :

int a = 0x800F0F0F+0x8F0;
printf("%x", a);

I was a little tired . . . .

-Thomas


- Raw text -


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