jeremiorama
MIS
Hi there,
I'm doing some C++ in Visual Studio 2005 and I'm looking at memory while debugging. However, I don't really know how to "decode" it or just don't know how much memory the data type takes.
When I look at the data address, I get a bunch of hex, of course, but I can only know how much memory it took if I delete the object (so I see the changes). I know there must be a way of knowing the total memory taken by the object only by looking at the hex data, however I don't know how. I've been looking on the Internet but I haven't found anything that would describe me how memory is placed (byte per byte).
Does anyone know a place or has an answer to that question? How can I take a footprint of memory used?
Thanks a lot lot!
-Jeremie
I'm doing some C++ in Visual Studio 2005 and I'm looking at memory while debugging. However, I don't really know how to "decode" it or just don't know how much memory the data type takes.
When I look at the data address, I get a bunch of hex, of course, but I can only know how much memory it took if I delete the object (so I see the changes). I know there must be a way of knowing the total memory taken by the object only by looking at the hex data, however I don't know how. I've been looking on the Internet but I haven't found anything that would describe me how memory is placed (byte per byte).
Does anyone know a place or has an answer to that question? How can I take a footprint of memory used?
Thanks a lot lot!
-Jeremie