Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!pasteur!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga Subject: Re: printf() Message-ID: <8803030731.AA20542@cory.Berkeley.EDU> Date: 3 Mar 88 07:31:30 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 11 :beginning of the program, so I inserted a printf("Beginning\n"); as the :first line of the program, after the declarations. I still got a 'task :held' requester _before_ anything printed out. Well, I figured out that :the bug was in a fscanf(file,"%d",n), (forgot the &n) on about the :fourth line of the program. Oh, I forgot to mention. If your stdout is NOT a console device (i.e. is a file), it is usually *not* flushed when \n is encountered. -Matt