|
-
May 13th, 2009, 01:55 PM
#25
Re: how to read memory address and get its value
 Originally Posted by Amleto
Code:
void* myPtr;
myPtr = (void*)0x336288; // for example
int x = *reinterpret_cast<int*>(myPtr);
omg that really did it xD thx thx thx thx thx and now i can allocate pointers to addresses i read from, that would be better than reading them everytime yes?
Last edited by Owyn; May 13th, 2009 at 01:59 PM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|