memory comparison
-
Hi! The following values, which are greater front = 0x003223d8 front->next = 0x00323118 Thanks, i have not clue which one is greater nor what they means! The only thing i know is that they are virtual address of a process. !! Another thing is if i take
front->next - front
what does it give me??? Thanks -
Hi! The following values, which are greater front = 0x003223d8 front->next = 0x00323118 Thanks, i have not clue which one is greater nor what they means! The only thing i know is that they are virtual address of a process. !! Another thing is if i take
front->next - front
what does it give me??? Thanksthe numbers are too complicated: if u ask 1 and 3, which is "greater", i know the answer. front->next - front is really meaningless except u do special research. don't stick on those kind problems when u start to learn c++, or u will get lost. includeh10
-
Hi! The following values, which are greater front = 0x003223d8 front->next = 0x00323118 Thanks, i have not clue which one is greater nor what they means! The only thing i know is that they are virtual address of a process. !! Another thing is if i take
front->next - front
what does it give me??? ThanksLooks like you have a linked list and they are all addresses. front is the address to the front of the list prolly, and front->next points to the next node. Subtracting them would give you a meaningless number! Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
the numbers are too complicated: if u ask 1 and 3, which is "greater", i know the answer. front->next - front is really meaningless except u do special research. don't stick on those kind problems when u start to learn c++, or u will get lost. includeh10
includeh10 wrote: the numbers are too complicated Not really, they are 32 bit addresses, that's all! Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
Hi! The following values, which are greater front = 0x003223d8 front->next = 0x00323118 Thanks, i have not clue which one is greater nor what they means! The only thing i know is that they are virtual address of a process. !! Another thing is if i take
front->next - front
what does it give me??? ThanksThose are hexadecimal numbers, base 16. That is what the 0x prefix means. Each digit can be 0-9 or a-f, where a-f represent decimal 10-15. So 3223d8 is less than 323118. --Mike-- "I'd rather you just give me a fish today, because even if you teach me how to fish, I won't do it. I'm lazy." -- Nish Just released - 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm