\begin{flushleft}
\begin{minipage}[t]{\textwidth}
\hrulefill

\vspace*{-5mm}

\begin{verbatim}
#include<iostream.h>
#include<LINK/basic/BinaryHeap.h>
#include<LINK/basic/List.h>

main()
{
        BinaryHeap<int, char> heap(10);
        ContainerNode *cn;

        heap.insert(1, 'a');
        heap.insert(2, 'b');

        List<char> list(heap);  // uses Iterator to copy
        list.insert('d');

        cout << heap << endl;
        cout << list << endl;

        //BinaryHeap<int, char> heap2(list);  
        //error: dictionaries cannot be constructed using 
        //       other container types.
}
\end{verbatim}

\vspace*{-7mm}

\hrulefill

\vspace*{-5mm}

\begin{verbatim} 
[a b]
(d a b)
\end{verbatim}

\vspace*{-6mm}

\hrulefill
\end{minipage}
\end{flushleft}
