Chapter Index | Slide Index | Frames [ Windows ] | Narrative On | <- prev | next -> |

Using List

    TList<char> L;
    L.PushFront('a');
    L.PushBack('b');
    L.PushFront('c');
    L.PushBack('d');
    L.PushFront('e');
    L.PushBack('f');
    TList<char>::Iterator I;
    for (I = L.Begin(); I != L.End(); ++I)
      cout << *I;
    
screen

   ecabdf       






<- prev | next -> | Top of Page | 8. A Generic List Class and Linked Lists - 9 of 19