+ 1
Move position
Does Anyone know how to move my position 0 to where ever the dog is so i can keep entering the commands and it picks up where it left off instead of resetting. https://code.sololearn.com/WXqY7B9x5jDq/?ref=app
3 Answers
+ 3
//here you go
input->pos->pos++
https://code.sololearn.com/WSDP4xu9PF5L/?ref=app
0
So I see what you did but it didn't really answer my question, my question was that the dog world jump back to where it originally when the same code was run twice and I have no clue how to set the position where the dog ended