cvs.gedasymbols.org/archives/browse.cgi | search |
Sender: | cp1v45 AT nortel DOT net |
Message-ID: | <37B19A86.949E7DE8@americasm01.nt.com> |
Date: | Wed, 11 Aug 1999 11:45:11 -0400 |
From: | "Rolf Campbell" <cp1v45 AT nortelnetworks DOT com> |
Organization: | Nortel Networks |
X-Mailer: | Mozilla 4.7 [en] (X11; I; HP-UX B.10.20 9000/712) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
To: | djgpp AT delorie DOT com |
Subject: | Re: uclock() and Integer |
References: | <3 DOT 0 DOT 5 DOT 32 DOT 19990809232331 DOT 007a9bc0 AT 200 DOT 252 DOT 238 DOT 1> |
X-Orig: | <cp1v45 AT americasm01 DOT nt DOT com> |
Reply-To: | djgpp AT delorie DOT com |
"Thiago F.G. Albuquerque" wrote: > Quoting libc's documentation, > > "(...) `printf' cannot print a value of type `uclock_t', even though > it is an integer value, because it is a 64-bit integer." > > So I thought of using libg++'s Integer class to print this 64-bit integer > and wrote this piece of code: > Do you know another way of printing an uclock_t? Can't you just use cout? I think cout can print 64-bit integers fine, you might have to cast it to a 'long long' first. -- -Rolf Campbell (39)3-6318
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |