hi there,
I need to write these 3 functions, but i got stuck at redo and delete. Redo is showing error when there is nothing to redo and i don't know how to write delete function. Thank you
undo
Redo is showing error when there is nothing to redo
That's probably because the check to see if the command stack is empty has been commented out. Are you sure this is your code?
i don't know how to write delete function.
Perhaps if you explained what this program was supposed to do, and what the delete method was supposed to do, we might be able to suggest something.
Why do we never have time to do it right, but always have time to do it over?
Anon.
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
Bookmarks