delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/14/08:35:41

Date: Fri, 14 Mar 1997 07:23:03 -0600 (CST)
From: Andrew Deren <aderen AT eecs DOT uic DOT edu>
To: Matt Chuckleton <riker AT pipcom DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Help with simple commands
In-Reply-To: <33289b66.5518194@news>
Message-ID: <Pine.SUN.3.95.970314072207.2809A-100000@ernie.eecs.uic.edu>
MIME-Version: 1.0


On Fri, 14 Mar 1997, Matt Chuckleton wrote:

> 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)
Are you including conio.h?
That's where those functinos are defined

> /n		(new line - used with printf, etc.)
> /t		(tab - used with printf, etc.)
You are using the wrong backslash use:
\n and \t

> 
> If anyone knows why these won't work, or what commands that DJGPP
> uses, please e-mail me or post to the group.  Thanks!
> 
> Matt Chuckleton
> 

- Raw text -


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