delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/07/18:33:25

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Text Mode Program: Help Please..
Date: Sun, 07 Sep 1997 17:37:17 -0400
Organization: Cornell University
Lines: 13
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <34131E8D.4FCD@cornell.edu>
References: <5uv4i5$t3u AT bgtnsc02 DOT worldnet DOT att DOT net>
Reply-To: asu1 AT cornell DOT edu
NNTP-Posting-Host: 128
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jay Slanker wrote:
> 
> I am just trying to make a simple text mode, move around demo.  Having a
> Zero move around the screen when you press 8(up), 6(right), 4(left), and
> 5(down).  It compiles ok, but then when run, if you press any of the
> above keys it repeptitively prints the zero key until you end it(press
> escape). Please if anyone see's the problem in the following code,
> e-mail me at: slanker505 AT usa DOT net.  Thanks in advance.  Reply by e-mail
> please..

use cprintf or cputs or cputc rather than their stdio counterparts.

  -- Sinan.

- Raw text -


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