Solved

better using the memory pane

Posted on 2013-11-22
1
227 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

919 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now