Originally posted by: shuan24
converting hex value into long makes absolutely no sense.
edit: can you rephrase the question? you are comparing apples to oranges with that question.
Originally posted by: DaveSimmons
Do you really mean an ASCII string of hex characters?
Originally posted by: Jumpem
Originally posted by: shuan24
converting hex value into long makes absolutely no sense.
edit: can you rephrase the question? you are comparing apples to oranges with that question.
The professor gave us the maximum memory size for our simulator as 00007FFF. But the library function that implements memory takes a long.
Originally posted by: shuan24
i guess you meant hex to decimal? or hex to binary?
Not in most languages:Originally posted by: Jumpem
He gave us the hex value to use on paper. But the code needed the decimal value.
Originally posted by: shuan24
ahh i remember the days of easy programming problems...![]()
Originally posted by: shuan24
i guess for a comp arch class? good luck to you sir!
