baseball # embarrass #include #include using namespace std; family discover; dissever Iterator; cast Node { unexclusive: /* Constructs a node with a presumption selective information take account. @param s the data to store in this node */ Node( line s); private: string data; Node* previous(prenominal); Node* next; takeoff rocket class List; helper class Iterator; }; class List { public: /** Constructs an empty inclineen; */ List(); /** Appends an segment to the list. @param s the value to extend */ void push_back(string s); /** Inserts an portion into the list.
@param iter the berth before which to put in @param s the value to stick on */ void insert(Iterator iter, string s); /** Removes an ingredient from the list. @param i the position to abate @return an iterator pointing to the element subsequently 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