#include "stdafx.h"
#include <string>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
?int *i_p = new int[5];
?//delete i_p;??????????? //1
?delete []i_p;????????? //2

?string *s_p = new string[5];
?// delete s_p;??????????? //3
?delete []s_p;????????? //4
?return 0;
}

在VS2005中,代碼1、2,都沒問題,同樣是3和4的話,就出問題了
搞不懂深層是什么原因,高手請指教