Solved

better using the memory pane

Posted on 2013-11-22
1
245 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
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 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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

627 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