title: error 'clreol' was not declared in this scope
body: <p>I'm new to c++. I am having a trouble with creating a clreol(); (clear end of line) function in C++ language. And also I am using Code::Blocks.The header file you're trying to use is very old and outdated.
  I'm trying to do like:
  `</p>
  
  <pre><code>void LINES::CLEARDOWN(void)
  {
   for (int i = 1; i &lt;= 25; i++)
   {
    sleep(20);
    gotoxy(1, i);
    clreol();
   }
  }
  </code></pre>
  
  <p>Can anyone please tell me the alternate way to use clreol()</p>