码迷,mamicode.com
首页 > 移动开发 > 详细

[vs执行报错] CRT detected that the application wrote to memory after end of heap buffer

时间:2017-05-27 21:13:23      阅读:265      评论:0      收藏:0      [点我收藏+]

标签:执行   article   lin   申请   ++   data   pos   cat   rac   

CRT 是c/c++ run-time lib , 是程序执行时所需的核心库.

这个错误是由于以对内在操作的过程中。所写的地址超出了。所分配内在的边界


有个建议是:

1、内存申请多少释放多少,释放掉你申请过的内存,不要乱释放。
2、不能释放已经释放的内存。



[vs执行报错] CRT detected that the application wrote to memory after end of heap buffer

标签:执行   article   lin   申请   ++   data   pos   cat   rac   

原文地址:http://www.cnblogs.com/lytwajue/p/6914402.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!