Mail Archives: djgpp/1996/05/31/01:36:08
Xref: | news2.mv.net comp.os.msdos.djgpp:4406
|
From: | lehmann AT mathematik DOT th-darmstadt DOT de (Alexander Lehmann)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: long long int
|
Date: | 30 May 1996 11:38:29 GMT
|
Organization: | Technische Hochschule Darmstadt
|
Lines: | 21
|
Message-ID: | <4ok1bl$nkj@rs18.hrz.th-darmstadt.de>
|
References: | <4oj1f7$eml AT hummin DOT sol DOT net>
|
NNTP-Posting-Host: | fb0432.mathematik.th-darmstadt.de
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Kenton E. Sinner (ksinner AT solaria DOT sol DOT net) wrote:
: Hi.
: I would like to do something with long long ints (64-bit), but the
: libraries don't seem to support conversion from strings to long long
: and vice versa, so I can't easily get such numbers into and out of
: the program. Is there a library that supports these conversions?
It should be relatively simple to take the source for strtoul and maybe printf
and substitute the necessary long types by long long. This might even work
with search/replace, but of course in the case of printf it will break
anything else (adding an additional width character would be better).
bye, Alexander
--
Alexander Lehmann, | "On the Internet,
alex AT hal DOT rhein-main DOT de (plain, MIME, NeXT) | nobody knows
lehmann AT mathematik DOT th-darmstadt DOT de (plain) | you're a dog."
!!CHANGED!! <URL:http://www.mathematik.th-darmstadt.de/~lehmann/>
- Raw text -