Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / January 2007

Tip: Looking for answers? Try searching our database.

Get int64 from 2 int32?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tao - 22 Jan 2007 18:56 GMT
hi.. group,

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

thanks.
Ben Voigt - 22 Jan 2007 22:31 GMT
> 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 :)

> thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.