int main(int argc, char* argv[]){ string s1("One"); string s2("Two"); string s3("Three"); string s4("Four"); string s5("Five"); string s6("Six"); DoubleLinkedList<string>* L; //Add some numbers to the list L->append(s3); L->append(s4); L->append(s5); L->print(); //Looks good, but we forgot One and Two //Lets add them L->prepend(s1); L->prepend(s2); L->print(); //Oh, no - they're on backwards //Remove them L->drop(s1); L->drop(s2); L->print(); //Yep, they're gone //Add them again, this time in the right order. L->prepend(s2); L->prepend(s1); L->print(); //All good //add the last number L->prepend(s6); L->print(); //Done! return 0; }