What i am trying to is to do something like this:
Print \ then | then / then _ and it goes on in a loop. Here is my code:
#include <stdio.h>
int main()
{
while(1)
{
printf("\\");
printf("|");
printf("/");
printf("_");
}
return 0;
}
The problem i face is that it prints it in a sequence, how do i make it print at the same cursor position with some time delay in C or C++?
I don’t properly understand what you mean by
How to make cursor rotate? But were you by any chance wanting to do something like this: