I have a template linked list class, eg:
LinkedList<int> list1;
LinkedList<implicant> list_imp;
Now I need a Linked List of Linked Lists, This is how I declared
LinkedList<LinkedList<implicant> > list_of_lists;
Then I declared a Linked List of implicant class.
LinkedList<implicant> implicants_list;
I calculated some value and put them in the implicants_list.
Then I wanted to insert implicants_list into list_of_lists like this:
list_of_lists.InsertatLast(implicant_list);
BUT the program crashed because of the last statement. What's wrong with that? I have written the copy constructor for my LinkedList, and implicant is just a short structure with no more than three basic data types.
Please help ASAP, It's really urgent.