Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hao!gatech!udel!princeton!phoenix!kenchiu From: kenchiu@phoenix.Princeton.EDU (Kenneth Chiu) Newsgroups: comp.sys.amiga Subject: Re: printf() Message-ID: <1934@phoenix.Princeton.EDU> Date: 3 Mar 88 13:57:31 GMT References: <7364@cisunx.UUCP> Reply-To: kenchiu@phoenix.Princeton.EDU (Kenneth Chiu) Organization: Princeton University, NJ Lines: 11 In article <7364@cisunx.UUCP> ejkst@cisunx.UUCP (Eric J. Kennedy) writes: >I inserted a printf("Beginning\n"); as the >first line of the program, after the declarations. . . . . >Now, my question is, why the heck didn't my message print out if it was >before the actual bug? Are you absolutely sure that you included '\n' in your printf? Manx (and probably Lattice, though I'm not sure) will buffer the output until a new line, file closed, flushed explicitly, or buffer full. Ken Chiu