Mail Archives: djgpp/1996/12/12/15:11:28
From: | Erik Max Francis <max AT alcyone DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: (possible) printf bug
|
Date: | Mon, 09 Dec 1996 08:10:00 -0800
|
Organization: | Alcyone Systems
|
Lines: | 16
|
Message-ID: | <32AC39D8.1827E677@alcyone.com>
|
References: | <01bbe56f$dd5b4f60$666fd9ce AT scully>
|
NNTP-Posting-Host: | newton.alcyone.com
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Cephaler wrote:
> Ok, I have this game in progress. I started writing it in bc 3.1 but
> switched over to djgpp v2.01. All I had to change was the random function
> so it would compile... but apparently I have to change something else.
You shouldn't mix calls to different methods of performing I/O on the
keyboard/screen. stdio, conio, and curses are all mutually exclusive. In
this case, you're relying on conio behavior -- use cprintf only.
--
Erik Max Francis | max AT alcyone DOT com
Alcyone Systems | http://www.alcyone.com/max/
San Jose, California | 37 20 07 N 121 53 38 W
&tSftDotIotE | R^4: the 4th R is respect
"But since when can wounded eyes see | If we weren't who we were"
- Raw text -