cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/09/14:44:35

From: louie AT cdc-online DOT com
Message-ID: <34DF5C35.6BE9@cdc-online.com>
Date: Mon, 09 Feb 1998 11:42:45 -0800
MIME-Version: 1.0
To: rwh AT worldonline DOT nl
CC: djgpp AT delorie DOT com
Subject: RE:8-byte int

from: eLpEE

It's simple to use 8 byte integers.

try this

#include <stdio.h>

#define 64bitint long long int

int main(void)
{
 a = 0xFF00FF00FF00FF00LL /* the LL at the end is required to change
                             values of 8 byte ints */

 printf("the val of a is %LL",a);

 return 0;
}

- Raw text -


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