Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. else if(strstr(buff, "undo") != NULL)
  2. {
  3. char aux[8], val[32];
  4.  
  5. sscanf(buff, "%s %s", aux, val);
  6.  
  7. if (!strcmp(aux, "copy"))
  8. {
  9.  
  10. }
  11. else if (!strcmp(aux, "move"))
  12. {
  13. move(&head, -atoi(aux));
  14. }
  15. ...
  16. printf("UNdo");
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement