How does on "point" a pointer at a specific memory address? I have a
program where I've malloc'd some memory and need to move around and
make changes. I know I can move a pointer in the malloc'd storage by
incrementing a pointer. However, in this malloc'd storage, I have
stored addresses of other locations and would like to "jump" from one
memory location to another based on what I find in certain memory
ranges. Don't worry, I've taken care of word aligning, etc. etc.
So to recap:
1. I have malloc'd storage
2. I have written blocks of data into this storage (I know it's there
because I can traverse the entire storage and output the information
alas, by incrementing the pointer)
3. I need to jump from run location to another based on some of the
data I've added.
Thanks,
Mark