www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/05/08:21:49

From: Gallicus AT caramail DOT com (Gallicus)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help with C++ library
Date: Mon, 05 Apr 1999 12:09:42 GMT
Organization: Wanadoo - (Client of French Internet Provider)
Lines: 16
Message-ID: <3708a4b6.22442967@news.wanadoo.fr>
References: <370982e5 DOT 13785014 AT news DOT wanadoo DOT fr> <37089CA7 DOT 2E459787 AT xoommail DOT com>
NNTP-Posting-Host: b-adsl-nice-1-146.abo.wanadoo.fr
Mime-Version: 1.0
X-Newsreader: Forte Agent 1.5/32.452
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Mon, 05 Apr 1999 05:21:11 -0600, Ishpeck <ishpeck AT xoommail DOT com> wrote:

>Why don't you just say "int" instead of "Integer"?  I think it's alot
>easier to type and it never gives me errors.

IMHO there is a big difference between "int" and "Integer".
"int" is limited to +2 ^ 16 or 2 ^ 32.
"Integer" is a GNU Lg++ (C++ library) class and it allows much much larger
than even (2 ^ 64) integers.

I want to use -just for fun- very long integers.
With Djgpp try :
int a = 123456789123456789;
Don't you get an error message ?

Gallicus.

- Raw text -


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