When working in C++ you often get unexplained memory exceptions. At least at first it might seem like random and unexplained memory exceptions. But when you pay closer attention you notice that the value of the pointer actually has meaning.
At least it does when you are using the Visual Studio Debugger. Below is a list that I hope you will find useful with the most common memory exceptions and their meaning.
Knowing what a memory location means is the first half of solving the problem causing it. The second step is walking through the call stack to try and locate the actual location of the problem.
Some errors I always made were deleting a string in a calling function and again in the function being called. A big noonoo
.
Leave a Reply