Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Anyone have a LARGE_INTEGER class?

0 views
Skip to first unread message

R. Kevin Burton

unread,
Apr 16, 1996, 3:00:00 AM4/16/96
to
I just started playing around with QueryPerformanceCounter and
started to get frustrated with the LARGE_INTEGER type that it
uses. I started to write a simple class that will add, subtract,
multiply, divide, and convert to double. I would like to know if
this has been done already, or am I cutting new ground?

Thank you.

--
R. Kevin Burton
kbu...@waun.tdsnet.com

Barry Tannenbaum

unread,
Apr 17, 1996, 3:00:00 AM4/17/96
to
In article <31733D...@waun.tdsnet.com>

"R. Kevin Burton" <kbu...@waun.tdsnet.com> wrote:

> I just started playing around with QueryPerformanceCounter and
> started to get frustrated with the LARGE_INTEGER type that it
> uses. I started to write a simple class that will add, subtract,
> multiply, divide, and convert to double. I would like to know if
> this has been done already, or am I cutting new ground?

What's wrong with the __int64 type that's built into MSVC?

- Barry

--------------------------------------------------------------------------------

3DV Technology, Inc Phone: (603) 595-2200 X228
410 Amherst St., Suite 150 Fax: (603) 595-2228
Nashua, NH 03063 Net: ba...@dddv.com


Chris Marriott

unread,
Apr 18, 1996, 3:00:00 AM4/18/96
to
In article <31733D...@waun.tdsnet.com>, "R. Kevin Burton"
<kbu...@waun.tdsnet.com> writes

>I just started playing around with QueryPerformanceCounter and
>started to get frustrated with the LARGE_INTEGER type that it
>uses. I started to write a simple class that will add, subtract,
>multiply, divide, and convert to double. I would like to know if
>this has been done already, or am I cutting new ground?

If you're using a Microsoft compiler, simply use the built-in "__int64"
data type.

Chris

--------------------------------------------------------------------------
Chris Marriott, Warrington, UK | Author of SkyMap v3 award-winning
ch...@chrism.demon.co.uk | shareware Win31/Win95 planetarium.
For full info, see http://www.execpc.com/~skymap
Author member of Association of Shareware Professionals (ASP)
--------------------------------------------------------------------------


0 new messages