baseball #include #include #include using namespace std; year List; dissever Iterator; class Node { unexclusive: /* Constructs a node with a given selective information value. @param s the data to store in this node */ Node(string s); private: string data; Node* previous; Node* next; friend class List; friend class Iterator; }; class List { public: /** Constructs an empty list; */ List(); /** Appends an segment to the list. @param s the value to extend */ void push_back(string s); /** Inserts an element into the list.
@param iter the position before which to insert @param s the value to append */ void insert(Iterator iter, string s); /** Removes an element from the list. @param i the position to remove @return an iterator pointing to the element after the erased element */ Iterator erase(Iterator i); /** Gets the beginning position of the list. @return an iterator pointing to the beginning of the list */ Iterator begin(); /** Gets the past-th...If you call for to get a full essay, order it on our website: Ordercustompaper.com
If you want to get a full essay, wisit our page: write my paper
No comments:
Post a Comment