turboc - clrscr() & gotoxy() functions

Chris Landry landry at apollo.COM
Tue Nov 29 23:40:00 AEST 1988


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.
---------------------------------------
main()
{
  printf("\n\nHello\n\n");
  gotoxy(1,1);              <----- Undefined symbol '_gotoxy'
  printf("Goodbye\n");
}
---------------------------------------

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?

ADVthanksANCE
-- 
    Chris Landry                        landry at apollo.uucp
    Apollo Computer, Chelmsford MA      apollo!landry at eddie.mit.edu



More information about the Comp.lang.c mailing list