PDA

View Full Version : Question for the computer science wizzes


amykhar
08 Nov 2001, 14:26
I tell you that I need you to send me the integer number 900010 in a 4-byte header in network order.

What is the header you would respond with?

Is it :

000DBBAA

is it:

AABBDD00

or is it something else entirely?

Amy

Logan
08 Nov 2001, 20:44
:noid:

Lesane
09 Nov 2001, 13:57
check in your start menu -> programs -> accessories -> calculator. Inside by the calculator choose in above menu by view "scientific".

Good luck ;)

Chen
09 Nov 2001, 15:14
Can we guess?

thewitt
09 Nov 2001, 15:58
Check out this link:

http://www.cs.rpi.edu/courses/sysprog/sockets/byteorder.html

-t

Mark Hensler
09 Nov 2001, 17:09
So I guess it's 000DBBAA.

Interesting...

amykhar
09 Nov 2001, 21:15
Yep. it was 000DBBAA

My header was right, I was sending the wrong damn number. :rolleyes: Remind me not to code when I'm tired.

Now I am trying to extract data from a stupid AS400 and my java isn't cooperating. This hasn't been my week.

Amy