Get int64 from 2 int32?

  • Thread starter Thread starter Tao
  • Start date Start date
Tao said:
hi.. group,

is there anyway that I can get a int64 from 2 int32?

The LARGE_INTEGER union, for Win32 code. In standard C++, you can use
bitshifts and the bitwise OR. If you mean to multiply them, there's the
Int32x32To64 function. Last but not least, you can use the 2 int32s as
indexes into the King James Version bible, pass the associated words to
google, and use 8 bytes of the response at random :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top