i need a very simple example/program to show mi how to make the dots to appear one by one with a time interval of 2 seconds. Please kindly help mi. Thanks alot!!!!!!!!
for(count=0;count<10;count++)
{
printf(".\n");
sleep(?%
Printable View
i need a very simple example/program to show mi how to make the dots to appear one by one with a time interval of 2 seconds. Please kindly help mi. Thanks alot!!!!!!!!
for(count=0;count<10;count++)
{
printf(".\n");
sleep(?%
hi.
try :
for (count = 0; count < 10; count ++)
{
printf(".\n");
::Sleep(2000); // 2000 milliseconds or 2 seconds
}
it must work.
AAvetyan
WHAT HEader FILE DO you Need to use the sleep function???
windows.h
---===---
I'm not here for the rates, but rating a post is a good way for me to know how much i helped. Private messages will do also.
---===---
Daniel