title: "delay()" Function not working not working in Dev cpp
body: <p>I'm using Dev Cpp 5.11 and i'm trying to run a simple code with time delays but it gives me error that "delay()"is not defined.</p>
  
  <p>Here's  my code :</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;dos.h&gt; //for delay
  #include &lt;conio.h&gt; //for getch()
  
  using namespace std;
  
  int main()
  {
      clrscr();
  
      cout&lt;&lt;"3";
      delay(1000);
      cout&lt;&lt;"2";
      delay(1000);
      cout&lt;&lt;"1"&lt;&lt;endl;
      delay(1000);
  
      getch();
      return 0;
  }
  </code></pre>
  
  <p>My guess is that this is probably  a bug in dev cpp</p>