I use addresses within a list to ensure quick access to my instances.
In the constructor I initialize each address with NULL. However, when querying before anyone sets the address (unless the constructor sets it to NULL), either 0x0000000000000000 or 0xdddddddddddddddddd is now in the pointer.
Where does the 0xdddddddddddddddd come from? I have in
In Visual Studio C++, what are the memory allocation representations?
found the following:
0xDDDDDDDD: Used by Microsoft's C ++ debugging heap to mark freed heap memory
but I don't understand that, I set the pointer all to NULL?