Restart the program

I'm trying to make a 8-puzzle with c++ and i got the algorithm but i dont know how to restart the program, i dont want to make 100000 lines to solve the 8-puzzle i want to restart the program every time i move the blank place of the 3x3 puzzle
loops, if/else and functions
Topic archived. No new replies allowed.