1. Windows:
windows.h header provide a Sleep() function to create time dealy in your program measured by milliseconds. !!! Note: The name of this function is start by an upper case "S".
include <windows.h>
Sleep(1000)
2. Linux:
sleep(1000)
1. Windows:
windows.h header provide a Sleep() function to create time dealy in your program measured by milliseconds. !!! Note: The name of this function is start by an upper case "S".
include <windows.h>
Sleep(1000)
2. Linux:
sleep(1000)