cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
how to use delay function on dev c++
how to use delay function on dev c++
May 21, 2016 at 6:38pm UTC
abdullah ibrar
(12)
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);
}
May 21, 2016 at 6:41pm UTC
Chervil
(7320)
#include <windows.h>
Sleep(10000);
May 21, 2016 at 6:50pm UTC
abdullah ibrar
(12)
thanks chervil
Topic archived. No new replies allowed.