Hello,
I am taking a comp.prog into'd cource and we use Borland Turbo C++ 3.0 for DOS on WinTel machines (Dells...::

UKE::

. With this, we are learning C++ by writing relatively mediocre text-only / command-line only DOS programs. However, several commands do not work at home in PB Version 1.1.1 (December 2001 Developer Tools). I know the reason why they don't work. The function that I use in my programs but don't with with GCC at home include (so far):
clrscr(); --- clears the screen (console)
getch(); -- wait for user to press any key
delay() / sleep() --- pauses the program for a specified time amount
gotoxy(x,y) --- sets text cursor to those coordinates on the console
The reason their don't work is because those calls are definated in the "conio.h" and "dos.h" header files, which are present in Turbo C++ on DOS but not GCC 2.xx.x on Mac OS X.
What alternatives can I use to accomplish those simple console task (clear the screen, for example) ? Since Mac OS X has its own
>console mode, t heir must be some equivalent commands to do those actions -- not everything is a GUI program.
thanks a
bunch for any advice.