hello. i doing my work and facing problem in "<<" operator
i declare that method in the class
public:
friend ostream& operator<<(ostream& out, T theList);
and in the main i am using that to print the list in this way
cout<<"First List is \n"<<list1;
but it creat error in the above line "<<list1"
Kindly give me a solution as early as possible
Thanx in Advance...