delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/13/23:13:36

From: "Igor Siemienowicz" <igorsiem AT onaustralia DOT com DOT au>
To: "Matt Chuckleton" <riker AT pipcom DOT com>, <djgpp AT delorie DOT com>
Subject: Re: Help with simple commands
Date: Fri, 14 Mar 1997 15:01:54 +1000
MIME-Version: 1.0
Message-Id: <05034534316732@onaustralia.com.au>

Hi there,

> clrscr();		(clear screen)
> getch();		(wait for a key press)

For these commands, you need to 

#include <conio.h>

which DJGPP has.

> /n		(new line - used with printf, etc.)
> /t		(tab - used with printf, etc.)

try '\n' and '\t', NOT '/'. the backslash is the standard 'C' escape
character.

Hope this helps

Igor Siemienowicz
igor AT onaustralia DOT com DOT au

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019