Please consider the below scenario:
I have a header file and its corresponding source file:
exmp.h (Header file)
exmp.cpp (
0xcdcdcdcd means uninitialized data.
0xcdcdcdcd
This means you're trying to access an uninitialized pointer somewhere.
Read more about it here:
Troubleshooting Common Problems with Applications: Debugging in the Real World
Win32 Debug CRT Heap Internals