for (int p : colourPos[i+1])
How do I skip the first iteration of my colourPos vector?
colourPos
Can I use .begin and
.begin
Do this:
bool first = true; for (int p : colourPos) { if (first) { first = false; continue; } // ... }