Mail Archives: djgpp/1998/10/11/01:46:25
Gloria (lucjack AT golden DOT net) wrote:
: Hi. I'm new to C. I've started a chapter in a book I bought about
: pointers. In the program I print out the address of various variables.
: The book says the addresses should be in the 0 - 65353 range, but I
: get addresses of 300000 and above. What's going on?
The book has made the assumption that you are using a 16-bit
real-mode compiler in the small or tiny memory model. DJGPP is a 32-bit
protected mode compiler. It uses virtual memory, there you can see
adresses as large as 4,294,967,295.
- Raw text -