how to * move????

Display a * at 0,0 and maybe delay a bit for the animation to be visible.
Then display a * at 1,0 and a space at 0,0, or the other way round.
Repeat for every point along the path.

If coding the whole thing is too difficult at this stage, as a first step just run the animation from 0,0 to 10,0. Then extend it to complete the top line, then add the next section of the path and so on until complete. Then put the whole lot within an infinite loop, cos it looks like the asterisk is supposed to keep moving.

Sorry I don't know the function calls for this. But maybe you already know them? Are you on a course, and has your tutor already given you some information on how to display specific characters at specific screen locations? (gotoxy perhaps?) This is not possible with the "standard" display functions printf/cout.