From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: DOS cursor/screen commands? Date: 15 Nov 2002 21:55:45 GMT Organization: Cornell University Lines: 34 Sender: asu1 AT cornell DOT invalid (on pool-141-149-206-9.syr.east.verizon.net) Message-ID: References: <1037380690 DOT 391305 AT cswreg DOT cos DOT agilent DOT com> <1037396636 DOT 65247 AT cswreg DOT cos DOT agilent DOT com> NNTP-Posting-Host: pool-141-149-206-9.syr.east.verizon.net X-Trace: news01.cit.cornell.edu 1037397345 3169 141.149.206.9 (15 Nov 2002 21:55:45 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 15 Nov 2002 21:55:45 GMT User-Agent: Xnews/5.04.25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com rrd AT ftc DOT agilent DOT com (Ray Depew) wrote in news:1037396636 DOT 65247 AT cswreg DOT cos DOT agilent DOT com: > A. Sinan Unur (asu1 AT c-o-r-n-e-l-l DOT edu) wrote: >: so, decide if you want to use ansi.sys. if you do, then load it. >: otherwise, look at the documentation for conio functions. > > huh. I guess my question is more basic, then. Rather than ask anyone > to debug my program, I just want to know how to clear the screen from > inside a C program. you did download the documentation, right? info libc func conio it is the third function from top. C:\Dload\misc>cat mycls.c #include int main(void) { clrscr(); return 0; } C:\Dload\misc>gcc -Wall -O2 mycls.c -o mycls.exe -s RTFM. -- A. Sinan Unur asu1 AT c-o-r-n-e-l-l DOT edu Remove dashes for address Spam bait: mailto:uce AT ftc DOT gov