Critique my heap debugger

后端 未结 5 1385
梦谈多话
梦谈多话 2021-01-03 03:06

I wrote the following heap debugger in order to demonstrate memory leaks, double deletes and wrong forms of deletes (i.e. trying to delete an array with delete p

5条回答
  •  孤街浪徒
    2021-01-03 03:43

    I'm not following your use of hardcoded constants/constant strings very well - put them in an enum? And I'm really not getting the idea of the token quite well. Needs more comments

提交回复
热议问题