首页 > 技术文章 > delete

qq76211822 2016-03-02 10:53 原文

byte *btData = new byte[0];

然后

Delete[] btData;

会产生什么结果呢,可能会正确也可能会失败.所以要检测生成的数组长度

推荐阅读