Article View: pilot.programmer.codewarrior
Article #8Re: Clrscr()
From: MWRon
Date: Wed, 09 May 2001 17:46
Date: Wed, 09 May 2001 17:46
31 lines
2007 bytes
2007 bytes
In article <B712F895.1FDD%Bonzzz.zzz@belgacom.net>, Bonzzz zzz <Bonzzz.zzz@belgacom.net> wrote: Sorry for the delay in replying but I've been off on vacation. >Now some days ago they started off using the "clrscr()" function. I haven't >been able to find something that works for the mac to...so this is my >questions: are there any ways in which I can do the same as "the otherones" >do? I'd prefer ANSI, but if not...then not, they don't mind either!!! for the Mac console.h has clrscr() as well as getch which you will probably run into as well. We don't however have any of the graphical functions such as gotoxy which are Borland proprietary. The reason for clrscr is that 8 years ago Turbo C had no way to switch back and forth to do console output so, it would go out to the DOS prompt. To fix this Borland added the clrscr() function to all of their examples and the getch() at the end of them to halt the console from exiting. Since schools don't like to buy new books and professors don't like to learn new ideas this crutch which is no longer ever used still comes up. Ron -- Vote for your favorite Java IDE http://www.sys-con.com/java/index2.html Metrowerks - Ron Liechty - MWRon@metrowerks.com
Technical Details
Message-ID:
<mwron-AF3E2F.13460109052001@enews.newsguy.com>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwronReferences:
<B712F895.1FDD%Bonzzz.zzz@belgacom.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109d41,5c7136047c0549ce X-Google-Attributes: gid109d41,public X-Google-Thread: 10bcce,5c7136047c0549ce X-Google-Attributes: gid10bcce,public X-Google-ArrivalTime: 2001-05-09 11:22:59 PST Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwron From: MWRon <mwron@metrowerks.com> Newsgroups: pilot.programmer.codewarrior,codewarrior.mac Subject: Re: Clrscr() Date: Wed, 09 May 2001 13:46:01 -0400 Organization: Metrowerks Lines: 31 Message-ID: <mwron-AF3E2F.13460109052001@enews.newsguy.com> References: <B712F895.1FDD%Bonzzz.zzz@belgacom.net> NNTP-Posting-Host: p-729.newsdawg.com User-Agent: MT-NewsWatcher/3.1 (PPC)