delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/19/16:45:17

From: Martin Str|mberg <ams AT father DOT ludd DOT luth DOT se>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem with scanf
Date: Thu, 19 Jul 2001 20:30:55 +0000 (UTC)
Organization: University of Lulea, Sweden
Lines: 9
Message-ID: <995574655.301659@queeg.ludd.luth.se>
References: <9j7bsc$ilg$1 AT newsg4 DOT svr DOT pol DOT co DOT uk>
X-Trace: news.luth.se 995574655 19566 130.240.16.109 (19 Jul 2001 20:30:55 GMT)
X-Complaints-To: abuse AT luth DOT se
User-Agent: tin/pre-1.4-981225 ("Volcane") (UNIX) (SunOS/4.1.4 (sun4m))
Cache-Post-Path: queeg.ludd.luth.se!unknown AT father DOT ludd DOT luth DOT se
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

mike <mike AT hippies DOT fsnet DOT co DOT uk> wrote:
:  fflush(stdin);

This invokes undefined behaviour. You probably want "fflush(stdout);".


Right,

						MartinS

- Raw text -


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