These are example of the two loops you need to traverse the data structure for assignment 2.
// In slideobject.cxx

 CListIterInt iter; 

 CSLIDEFace *pCSLIDEFace;

 iter.Init(&m_listCSLIDEFace);
    
 for ( pCSLIDEFace = (CSLIDEFace*)iter.PeekFirst(); 
       pCSLIDEFace != NULL;
       pCSLIDEFace = (CSLIDEFace*)iter.PeekNext() )
   {

     // Body of loop using pCSLIDEFace goes here.

   }


// In slideface.cxx

 CSLIDEPoint *pCSLIDEPoint;

 iter.Init(&m_listCSLIDEPoint);

 for ( pCSLIDEPoint = (CSLIDEPoint*)iter.PeekFirst(); 
       pCSLIDEPoint != NULL;
       pCSLIDEPoint = (CSLIDEPoint*)iter.PeekNext() )
   {

     // Body of loop using pCSLIDEPoint goes here.

   }