Hello everyone, I have a problem like this: I do not know how to count the number of elements in a list of lists. Let me explain:
I have the following list of list
Qt Code:
  1. std::vector< std::vector<GLdouble> > contours;
  2. ...
  3. std::vector< std::vector<GLdouble> >::iterator contour;
  4. for(contours.begin(), ite = contours.end(); contour != ite; ++contour)
  5. {
  6. for( size_t v = 0; v < ????; v += 3 )
  7. }
To copy to clipboard, switch view to plain text mode 
I do not know how to write the part indicated with ???? that represents the size (ie the number of elements of the list std::vector<GLdouble>).
Can you help me, I'm going crazy.