int i = 0;
int j = 0;
vector<vector<int>> normal;
vector< vector<int> >::iterator row;
vector<int>::iterator col;
for (i = 1; i < 10; i++) {
for (j = 1; j < 10; j++) {
normal[i].push_back(j);
}
}
Run Code Online (Sandbox Code Playgroud)
有人可以解释我做错了什么吗?在编译过程中,我收到错误“矢量下标超出范围”
c++ ×1