Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!apple!voder!pyramid!prls!philabs!linus!mbunix!tjc From: tjc@mbunix.mitre.org (Tom J. Colley) Newsgroups: comp.lang.c Subject: Re: Strange C Problem Keywords: Linked Lists Message-ID: <53092@linus.UUCP> Date: 10 May 89 12:58:59 GMT References: <13812@paris.ics.uci.edu> Sender: news@linus.UUCP Reply-To: tjc@mbunix (Colley) Distribution: na Organization: MITRE Lines: 13 In article <13812@paris.ics.uci.edu> bvickers@bonnie.ics.uci.edu (Brett J. Vickers) writes: >...on to the next line (printf("&")). The ampersand isn't output until >the next call to output_msgs(). > On many systems, a output to a terminal is buffered until a newline is sent, (or something to that effect). I once wrote a program that displayed an 'X' every 1000 iterations so I could see its progress (50,000 iterations). The darn thing would run but wouldn't display any of the 'X' until the process completed. If this is on a UNIX system, you might try a 'fflush' on standard output, or something similar to this on a different system. Hope this helps! Tom (tjc@mbunix.mitre.org>