Mail Archives: djgpp/1998/07/16/10:30:28
From: | Jedediah Smith <jedediah AT interlog DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Really Huge Numbers
|
Date: | Wed, 15 Jul 1998 22:51:02 -0700
|
Organization: | Interlog Internet Services
|
Lines: | 18
|
Message-ID: | <35AD94C6.26AF@interlog.com>
|
References: | <35ace841 DOT 0 AT news DOT provide DOT net>
|
NNTP-Posting-Host: | 209.20.11.19
|
NNTP-Posting-Time: | 16 Jul 1998 02:53:21 GMT
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Lord Daedron wrote:
>
> Another one my current projects is a DOS install program to be used with my
> other projects. I have it completed, but i have a problem: I wish to store
> the file sizes of all files packed in my compressed archive, along with the
> total of all file sizes. Using an unsigned int ( I read this is same as
> unsigned long? ) this gives me a maximum of about 4 megs ( any bigger
> numbers will overflow ). Is there a bigger integer type or a class for
> stroing really huge numbers so I could install more than 4 megs?
Actually it's 4 gigs. And if that still isn't enough, you could use a 64
bit long long which will go up to, I believe, 16 million terrabytes.
--
.....
:edediah
:.:
- Raw text -