Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

better using the memory pane

Posted on 2013-11-22
1
Medium Priority
?
256 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 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
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 tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

715 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