See CObList::CObList for a listing of the CAge class.   CObList list;
   POSITION pos;
CptrList类的例子,在msdn中的。。
你看看有没有帮助巴   list.AddHead( new CAge( 21 ) );
   list.AddHead( new CAge( 40 ) ); // List now contains (40, 21).
   // Iterate through the list in head-to-tail order.
#ifdef _DEBUG
   for( pos = list.GetHeadPosition(); pos != NULL; )
   {
    afxDump << list.GetNext( pos ) << "\n";
   }
#endif