Path: utzoo!attcan!uunet!tektronix!ozvax!tekcsc!jeff From: jeff@tekcsc.MKT.TEK.COM (Jeff Beadles) Newsgroups: comp.unix.wizards Subject: Re: Unix problem or C problem? Message-ID: <143@tekcsc.MKT.TEK.COM> Date: 19 Jan 89 00:07:07 GMT References: <245@ibd.BRL.MIL> Reply-To: jeff@tekcsc.MKT.TEK.COM (Jeff Beadles) Organization: Tektronix, Inc. Wilsonville, Or. Lines: 22 In article <245@ibd.BRL.MIL> heilpern@brl.arpa (Mark A. Heilpern (IBD) ) writes: $ $ HELPHELPHELPHELPHELPHELPHELPHELPHELPHELPHELPHELP $ $ When running a program with the following code: $ $ while (fscanf(input,"%d", & stars)!=EOF) { Shouldn't this be here -------^ $ fprintf(stderr,"OK to this point.\n"); $ fprintf(output,"%4d |",lines++); $ stars /= 50; $ for (count = 0; count <= stars; count++) $ fprintf(output,"*"); $ fprintf(output,"\n"); $ } $ Is it a case of the missing '&'? -Jeff Beadles jeff@tekcsc.MKT.TEK.COM