And there is also Sleep().

#include <windows.h>
.
.
Sleep(1000); //Sleep 1 second