[LBo] C language program

Howard Rosen hrosen33 at highstream.net
Tue Oct 24 22:23:26 CEST 2006


Searching around I found this to be a satisfactory work around:

printf("\033[2J");         /* Clear the entire screen */
printf("\033[0;0f");	   /* Move cursor to the top left hand corner */
And this works quite well.

Howard

On Tue, 2006-10-24 at 15:50 -0400, Howard Rosen wrote:
> Writing a C language program that I want to use clrscr();  clrscr()
> uses, typically, #include <conio.h>, but when compling, an error reading
> undefined reference to `clrscr happens.  I did a search for <conio.h>
> and found nothing.  These include files are found in /usr/include, but
> conio.h is not there.
> 
> Anyone know of an include that would work for clrscr()?
> For that matter, for opensuse10.1, is there a listing that ties the
> includes to C commands?
> 
> Thanks,
> 
> Howard
> 
> 



More information about the QnA mailing list