Is there a way for clearing just a single line? I know clrscr but it clears the whole screen. I'm making a function that prints out ascii art, and I can't get it to start at line 24 printing the first line, while printing the rest all starting at line 24 and going up, so I made it print one line at a time, but I don't know which function lets me clear only one line, so that the first line stays in position while the second line prints out.
int x = 0;
int y = 24;
while( y > 0)
printf(" * , _6gg \\\\ mE0*,\n");
if (y != 1)
//this is the second line
printf(" _ -CRMZa- _p#d#K&s\n");