Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C

Name: Anonymous 2009-12-12 8:25

he guys, shouldn't a 64bit integer go further than a 32bit integer? my programm cuts out @ 2^32 instead of 2^64...
im 100% shure i compiled it as a 64 bit application...

Name: Anonymous 2009-12-12 8:28

please look up the difference between signed and unsigned values, thank you


The management

Name: Anonymous 2009-12-12 8:40

Verify that you are using 64-bit datatypes. ints rarely are.

Name: Anonymous 2009-12-12 8:43

>>1
You mean you compiled it as a 64-bit app but used ints in the source code?
Ha ha oh wow!!

Name: Anonymous 2009-12-12 8:49

>>4
virgin

Name: Anonymous 2009-12-12 8:50

>>4
hey why no? it works with 16bit apps, it works with 32bit apps and why shouldn't it work with 64bit apps?

Name: Anonymous 2009-12-12 8:54

>>6
Because the standard doesn't require that ints be 64 bits long, either use a long long int

Name: Anonymous 2009-12-12 8:57

use int64 or uint64.
i think those are the right names for it, i've never used them before.
check your sys/types.h file.
also, long int.

Name: >>8 2009-12-12 9:02

i means sys/stdint.h

Name: Anonymous 2009-12-12 9:03

Hey OP, why dont you use pointers instead of ints, they are always the word size

Name: Anonymous 2009-12-12 9:06

>>5
What? How did you know??

Name: Anonymous 2009-12-12 9:13

>>8,9
No, you mean stdint.h.

Name: Anonymous 2010-12-21 4:24


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List