turboc - clrscr() & gotoxy() functions

Mr. Fred Smith smith at umbc3.UMD.EDU
Wed Nov 30 04:15:16 AEST 1988


In article <3ff17f35.7183 at apollo.COM> landry at apollo.COM (Chris Landry) writes:
>
>I'm a fairly new MSDos TurboC user. (vers 1.0)
>But I've used msdos TurboPascal for some years.
>
>Does TurboC allow screen functions like...
>
>  clrscr();   gotoxy(x,y);  clreol();   etc?
>
>I cannot get a program to compile/link with these functions.
>---------------------------------------

>I've looked in all the standard include files and 
>found nothing. I know these are not ANSI standard
>but I would assume TurboC would define them somewhere.

>Where is it?
>Am I missing something?

Chris,
Did you include <conio.h> when you compiled? I'm guessing that this is
included in ver. 1.0. 1.5 contains this and you must include that
file to use those functions. I've used them frequently in my 
programs.

good luck
fred



More information about the Comp.lang.c mailing list