c++ - Undo/Redo with linked lists -


i have written program many different things linked list. asks user enter different lines of text linked list. can either enter line @ end of list of @ random line number. or can delete line. need write function or 2 when called upon undo or redo last command , can undo or redo 10 commands in row. ideas best way go undoing commands involving linked lists?

you need store history of commands in list. undo, @ recent command , reverse action.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

Voice chat over bluetooth between Android & Python (pybluez) -

Integrate jquery-globalize into an ASP.NET Core MVC App -