how to use delay function on dev c++

this program dont work on dev c++ , how can i use delay() function on dev ?

#include<stdio.h>
#include<stdlib.h>
#include<iostream>
using namespace std;
int main()
{
cout<<"This c++ program will exit in 10 seconds.\n";
delay(10000);
}

#include <windows.h>

Sleep(10000);
thanks chervil
Topic archived. No new replies allowed.