From: broeker AT acp3bf DOT knirsch DOT de (Hans-Bernhard Broeker) Newsgroups: comp.os.msdos.djgpp Subject: Re: gotoxy() Date: 2 Sep 1999 23:01:50 +0200 Organization: RWTH Aachen, III. physikalisches Institut B Message-ID: <7qmoju$43g@acp3bf.knirsch.de> References: <002e01bef3da$c4e896f0$02020001 AT osek12 DOT fh DOT hosp DOT dk> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 936306114 26179 137.226.32.75 (2 Sep 1999 21:01:54 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 2 Sep 1999 21:01:54 GMT X-Newsreader: TIN [version 1.2 PL2] Lines: 17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > Take a look at the attached functions, which should do the job It doesn't do the job the original poster asked for, because it completely ignores the 'in ANSI C' part of his requirements. None of the attached functions is necessary for DJGPP, as we already have all of them under their usual Borland-style names (including 'gotoxy()'). The answer to the original question has long since been known to be 'No, that's impossible in ANSI C'. Not to anyones surprise, almost exactly this question is a FAQ in the group where it should have been asked (comp.lang.c). The short rationale: there's not even a the concept of a 'screen' in ANSI C, so how could it support 'gotoxy()' or 'clearscr()'? You're in platform-dependent C land, here. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.