try the search for the board u will end up with a good result... There is not ansi function that check cursor movement for u ..that i know of ..and the spinning of the cursor is really easy
Code:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
static void pause ( int ticks )
{
clock_t end, current = clock();
end = current + ticks;
while ( current < end )
current = clock();
system("cls");
}
int main ( void )
{
int i;
char *ch[3] = {"\\", "|", "/"};
while (1)
for (i = 0; i <= 2; i++ ){
printf("%s", ch[i] );
pause(500);
}
return 0;
}