|
-
July 28th, 2009, 05:36 AM
#1
Pointers / Destructor etc
Hi Guys,
Just wandered if there was anyway through Visual Studio or a third part app that will let me see what variables are currently still in memort when i am writing an apllication??
I'm trying to get my head around memory allocation and pointers - in particular char* and const char* pointers!!
basically what i'd like to see is;
char* var[] = "Hello";
var = "Hello again";
Is "Hello" still in memory and now var points to "Hello Again" or have i modified the original "Hello" string and only one portion of memorty allocated??
any help much appreciated.
Dale
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|