Usually if the board is not too big reprinting the whole thing (with spaces where you want a number the disappear) does the trick fast enough..
clear the screen before you print of course..
E.g.
System("clrscr");
printf( "1 2 3" ) ;
Sleep(1000) ;
System("clrscr");
printf( " 2 3" ) ;
will give an illusion that 1 disappears after 1 second..
thekashyap
Practically a Posting Shark
811 posts since Feb 2007
Reputation Points: 254
Solved Threads: 75
Usually if the board is not too big reprinting the whole thing (with spaces where you want a number the disappear) does the trick fast enough..
clear the screen before you print of course..
E.g.
System("clrscr");
printf( "1 2 3" ) ;
Sleep(1000) ;
System("clrscr");
printf( " 2 3" ) ;
will give an illusion that 1 disappears after 1 second..
Except for the fact that System() is undefined and Sleep() may not be defined (depends on your compiler).it_dude, you need to describe what you want better than that. From your description there are hundreds of ways to do what you want, but few will be useful to you (as you can see from thekashyap's response ;))
Try posting code so we know what you are dealing with. Be sure to read up on Code Tags first.
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
Did the link confuse you? Or did you simply ignore my suggestion?
Be sure to read up on Code Tags first. :evil:
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
Except for the fact that System() is undefined and Sleep() may not be defined (depends on your compiler).
You're right.. But I was hoping it_dude will figure that much out himself.. anyway here is teh updated suggestion.. :)
//something that will clear the screen e.g. system("cls");
printf( "1 2 3" ) ;
//something that will make this thread sleep for a minute e.g. Sleep(1000) ;
//something that will clear the screen e.g. system("cls");
printf( " 2 3" ) ;
this will give an illusion that 1 disappears after 1 second..
thekashyap
Practically a Posting Shark
811 posts since Feb 2007
Reputation Points: 254
Solved Threads: 75