cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Pointers
Pointers
Dec 12, 2011 at 4:07pm UTC
time to c
(107)
how can i change address of a variable.
like a int variable is stored in 0x0022f8c (and its holding value 89)
how can i move that to 0x0022f9f (memory location not a file address).
Dec 12, 2011 at 4:19pm UTC
Computergeek01
(5613)
The simple answer is don't. You should not be trying to dictate memory allocation like this, the OS is much better at it then you are. What are you trying to accomplish? There might be a better way to do it.
Topic archived. No new replies allowed.