_Block_Type_Is_Valid (pHead->nBlockUse) Error

后端 未结 2 1252
猫巷女王i
猫巷女王i 2020-12-14 09:23

I been working in a new project but I encounter with a problem which I can\'t see why fail.

When I perfom this line delete textY give me the error _Block_Type_Is_Val

2条回答
  •  感情败类
    2020-12-14 09:37

    Just use a std::string. That error means that you double deleted something, or something like that, a problem that you wouldn't have if you didn't manage your own memory. Your code is littered with memory leaks and other bugs that you won't have with std::string.

提交回复
热议问题