Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

better using the memory pane

Posted on 2013-11-22
1
Medium Priority
?
258 Views
Last Modified: 2013-11-24
Hi

In the memory pane in visual studio , the address is in hex (eg:0x1F9DBDC0) .So if i enter in my pointer name, it resolves it to a hex equaivalent in address space . Is there an easy way to advance to , let's say x bytes.

I can't seem to get mypointer+x to work if that's what i put in the address text box. Here, my pointer is the name of my pointer and x is the number of bytes i want to advance.

also note that mypointer is a pointer of char, so 1 byte.

thanks
0
Comment
Question by:LuckyLucks
1 Comment
 
LVL 12

Accepted Solution

by:
trinitrotoluene earned 2000 total points
ID: 39670977
works perfectly for me. See the attached jpegMemory Window
If you want to verify the values at the address just use pointers to store values in your program.

Use a debugger and step through the code to obtain the pointer value.
cross check these pointers and the corresponding stored values in the memory window.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question