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

Pages: 1-

unsigned int in minuses wtf?

Name: Anonymous 2007-07-07 1:35 ID:mct+n59u

I've made a function that takes in an unsigned int. the unsigned int is cast from a normal int

and it can go into minuses, why? i thought unsigned ints couldn't!

Name: Anonymous 2007-07-07 2:32 ID:Heaven

I don't think you've quite understood typecasts yet.

Name: Anonymous 2007-07-07 3:54 ID:lRORgnER

for 16 bit ints :

.
.
.
2 = 2
1 = 1
0 = 0
-1 = 65535
-2 = 65534
-3 = 65533
.
.
.

etc.

Name: Anonymous 2007-07-07 4:55 ID:F6aSxoLV

Ah... so "(Post truncated.)" means "etc."

Name: Anonymous 2007-07-07 6:32 ID:wQMR87Hw

Become an EXPERT J2EE SCALABLE ENTERPRISE SOLUTIONS PROJECT LEADER then kill yourself.

Name: Anonymous 2007-07-07 10:01 ID:cwwqgjj7

The OP must've tried to print an unsigned int with printf, using the %d directive rather than %u. Silly, silly >>1.

Name: Anonymous 2007-07-07 11:26 ID:4ZREzwQX

>>6
that makes me remember....
variable argument function in c suck. I know because I made a few,  which were great but the lack of type safety is too big of a burden.

Name: Anonymous 2007-07-08 5:14 ID:mPxLZriG

>>6
true. do'h

Name: Anonymous 2007-07-08 5:16 ID:Heaven

>>1,8
Potentially same people. Mystery solved, I declare the thread officially OVER. I would like to thank Anonymous for his clarity and insight. May Satori be with you all.

Name: Anonymous 2007-07-08 8:02 ID:Heaven

>>10
shut up faggot

Name: Anonymous 2007-07-08 9:46 ID:pNJcawy5

>>- NO U

Name: Anonymous 2007-07-08 11:41 ID:JOImqgX+

>>10
Ha ha, schizo phag.

Name: Anonymous 2007-07-08 11:43 ID:Heaven

>>12
Fail for not knowing the difference between DID and schizophrenia.

Name: Anonymous 2007-07-08 11:47 ID:JOImqgX+

>>13
You have both.

Name: Anonymous 2007-07-09 6:18 ID:CIsPffO1

>>5
It's not "leader" D:
Leader is an incredibly unenterprise word.
It's "PROJECT MANAGER".

Name: Anonymous 2007-07-10 4:20 ID:9Wxpc2ve

>>15
SYSTEMS LIFE CYCLE EXPERT SOLUTIONS

Name: Anonymous 2009-02-25 8:12


implement just involves adding   a timeout to   the gen tcp   accept ServerSock of.

Name: Anonymous 2010-04-14 18:29

ssss

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