Tuesday, August 23, 2011

busy process....

#include<stdio.h>
#include<conio.h>
#include<dos.h>
main()
{
    int m,kbhit(void);
    clrscr();
    while(!kbhit())
    {
        printf("\b\\");
        delay(100);
        printf("\b|");  
        delay(100);
        printf("\b/");
        delay(100);
        printf("\b-");
        delay(100);
    }
return;
}