struct stru_Rect
{
int id;
int x;
int y;
int w;
int h;
stru_Rect()
{
id = 0;
x = 0;
y = 0;
w = 0;
h = 0;
}
};
using namespace std;
#include<vector>
//这句话报错:数组初始化需要大括号
vector<stru_Rect> HrectList[5] = new vector<stru_Rect>();
//这种形式初始化也不行
vector<stru_Rect> HrectList(5,0);
我该怎么初始化这种数据结构