The memory tests from last night continue to work well, so I decided to tackle the basic alignment tests next. After a few hours of desperate troubleshooting, I was able to get the custom new operator to stop crashing, but only by ignoring parameters and cutting things down to their most basic forms.
Now, approaching the end of the day and the end of my sanity, the test I'm hopelessly stuck on at the moment is this:
(mem_Info.currBytesUsed == 5*sizeof(Dog))
How in the world can I make this condition true? Logic says that it should be, but how to get the code to agree, I do not yet know.
I'm tempted to stay up all night again to keep working on this, but I'm rapidly reaching a point of diminishing returns by doing so. I'm ready to cut my losses for today and try to get some rest. The mental energy I've expended on PA2 has been immense, even if my results are not. I'm going to rest up, re-read the online documentation on the Win32 memory functions, and try again tomorrow.
For tonight, I'm leaving PA2 like this:
No comments:
Post a Comment