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.
I'll give you the first step but it's only partial. You need to work at this, not just post "plz urgent" to forums. Code: for (int i=0; i<10; i++) { displayAt('*',i,0); // parameters are char to display, x, y. You will need to write this function (maybe it uses gotoxy()?). delay(1000); // some delay function. Assuming milliseconds, so this will display the * for 1 sec before continuing displayAt(' ',i,0); }