Hey, I might be having a blonde moment but here goes..
I'm trying to split a massive 1D vector into blocks at different places (If that makes sense), it should basically go like this:
0
201
401
601
801
..
..
..,
57201
2
202
402
602
..
..
..
..
3
302
402
602
But, for some reason, it prints out as:
0
1
2
3
..
..
..
Here's a tiny bit of sample code:
for(unsigned i=0; (i < numblocks); i++)
{
for(unsigned j=0; (j < N); i++)
{
cout << (i*200+j) << endl;
}
}
In my head (and on paper) it should go.. 0, 201, 202.. But it doesn't.. Any ideas? Thanks :)