Mail Archives: djgpp/1997/03/15/13:32:08
Matt Chuckleton (riker AT pipcom DOT com) writes:
> Last year I started learning C with Borland C++ (I think :). There
> are 4 commands in particular that I used than, that I can't get to
> work with DJGPP. They are:
>
> clrscr(); (clear screen)
> getch(); (wait for a key press)
#include <conio.h> and you'll have these. Borland must have included it
automatically.
> /n (new line - used with printf, etc.)
> /t (tab - used with printf, etc.)
Use \n, \t. Borland must have had slashes backwards. (I thought slash
direction was specified in ansi?)
--
.*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
-() < When I go to the theater, I always go straight to the "bag and mix"
`*' bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
- Raw text -