MasterDucky
February 2nd, 2008, 01:37 PM
After reading several books and tutorials on C++ its still not clear to me
how the memory numbered.
Is it like the addresses goes from 0x000000 until the available amount of memory and then the programs assigned somewhere between them?
Or is it every program loaded into memory starts with 0x000000 and then
the processor knows some way where to access them?
Im asking this also because if i compile the same program again only with another name, i mean that i make a copy of it, it will give the same addresses
for the same variables.
how the memory numbered.
Is it like the addresses goes from 0x000000 until the available amount of memory and then the programs assigned somewhere between them?
Or is it every program loaded into memory starts with 0x000000 and then
the processor knows some way where to access them?
Im asking this also because if i compile the same program again only with another name, i mean that i make a copy of it, it will give the same addresses
for the same variables.