how can i get this program to not move around like it does? i want it to stay in one spot so it looks like the little thing is spinning.
PHP Code:
#include    <stdio.h>

void main()
    {
    
long counter1,counter2,towait;
    
char anim[5]="|\\-/";
    for(
counter1=0;counter1<10000;counter1++)
        {
        for(
counter2=0;counter2<5;counter2++)
            {
            
printf("%c",anim[counter2]);
            for(
towait=0;towait<15000000;towait++)
                {
                continue;
                }
            }
        }
    }