troubleshooting Question

image, memory location (visual explanation)

Avatar of Mike Eghtebas
Mike EghtebasFlag for United States of America asked on
CC++Visual C++.NET
16 Comments1 Solution406 ViewsLast Modified:
I have not studied C or C++ yet. I have located the following image from Web and I want to make sense out of its structure.

height      175  0x0031F1
weight      73      0x0031F4
age              24      0x0041F1

Obviously, height, weight, and age are variable names and the matching numbers are their values.

Q1: Are the third column memory addresses?

If so, I am trying to make an image like:

Following are recorder on [ blank ] section of the memory:      name what blank is?
Resume  0x0031F1
height      0x0031F4
weight      0x0031F9
age              0x0041F1  

And then have:

Following are memory locations with variable values:
mem.address               binary values
0x0031F1   01010111000101011100010101110011        <-- these do not translate to something real in resume.txt
0x0031F2   01010111000101011100010101110011
0x0031F3   01010111000101011100010101110011       <-- to read: 0x0031F5, Continuation address for resume.txt
0x0031F4   01010111000101011100010101110011       <-- should change to be 175 (weight)      
0x0031F5   01010111000101011100010101110011       <-- resume.txt continued here
0x0031F6   01010111000101011100010101110011
0x0031F7   01010111000101011100010101110011
0x0031F8   01010111000101011100010101110011     <-- to read: 0x0041F5, Continuation address for resume.txt
0x0031F9   01010111000101011100010101110011       <-- should change to be 73(height)  
0x0041F1   01010111000101011100010101110011       <-- should change to be 24(age)  
0x0041F5   01010111000101011100010101110011    <-- resume.txt continued here

Q2: Could you please comment on my take. If more or less accurate, give me a link with image (for visual explanation)?  

Thank you.
Join our community to see this answer!
Unlock 1 Answer and 16 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 16 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros