www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/12/06:00:26

From: No_spam_here AT unlisted DOT de (Oliver Richman)
Newsgroups: comp.os.msdos.djgpp
Subject: conio and stdio
Date: Wed, 12 Aug 1998 09:44:41 GMT
Organization: Merlin-Simex Corporation
Lines: 21
Message-ID: <35d16369.13894854@news.pathcom.com>
References: <8D53104ECD0CD211AF4000A0C9D60AE30DEF19 AT probe-2 DOT Acclaim-Euro DOT net>
NNTP-Posting-Host: ts3l3.pathcom.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>George Foot writes:
>> `printf' is not documented to cooperate with `gotoxy'.  Mixing 
>> functions from conio with functions from stdio is a bad idea in 
>> general, simply because they're not guaranteed to work together 
>> properly.

I don't see why

	fflush(stdout);
	gotoxy(1,1);
	printf("moo");
	fflush(stdout);

won't work. In fact as long as the functions are implemented properly,
it *must* work. I think. 

--Oliver
--                                           \ Style: Chen shi Xinjia Taijiquan.
orichman at hotmail.com                       \ Visit my homepage for NetWhack
http://www.pathcom.com/~simex/opr/index.html   \ info (goal: a C++ NetHack).

- Raw text -


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