title: cleaning all characters from terminal
body: <pre><code> void clearscreen ( void )
   {       
          char a = 'a' ;
                fflush ( stdout ); 
          do{
                 a = getc( stdin )   ;
  
                 if ( isspace ( (int ) a ) )
                         { 
                         getc ( stdin ); 
                         }
  
              }while ( a != EOF ); 
  
  
   }
  </code></pre>
  
  <p><strong>I</strong> <em>want</em> write function which is capable of cleaning the screen, while doing its job it <strong>must</strong> erase all characters including especially <strong>whitespace</strong> characters.
     But I could not write it, so are there any one can help me to write such a function</p>