Feb 26, 2002 #1 matmil Technical User Mar 18, 2005 6 US I am writing a win32 app and I need to delay or wait or pause for a given amount of time... Does anyone know how to do this... for (i=1;i<100;i++) { Wait or delay for 10 seconds printf("." } Cheers, Matt
I am writing a win32 app and I need to delay or wait or pause for a given amount of time... Does anyone know how to do this... for (i=1;i<100;i++) { Wait or delay for 10 seconds printf("." } Cheers, Matt
Feb 26, 2002 #2 Leibnitz Programmer Apr 6, 2001 393 CA Try to use this: #include <windows.h> ..... ... for ( i = 1; i < 100; i++ ) { Sleep(10000); printf("." } Upvote 0 Downvote
Try to use this: #include <windows.h> ..... ... for ( i = 1; i < 100; i++ ) { Sleep(10000); printf("." }