I just installed the latest version. My old program user 2-dim arrays Array[200][200]. The new version will not accept this so I discovered on line how to use vectors to define it.
std::vector< std::vector<int> > Array(200, std::vector<int>(200));
However, my source looks like this
ncx = 0; ncy = 0;
for (x = 0; x < 1000; x = x + 100)
{
for y = 0; y < 1000; y = y+100))
{
Array[ncx][ncy] = variable;
ncy++;
}
ncx++;
}
It compiles but gives a run time error. Bad index
Any suggestions?
Thanks
Warren