[linux-help] Re: Problem with C program
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
bruce wrote:
> It's working now. I moved the FILE declarations outside of a while loop and
> that made it work.
> Thanks John,
> bruce
> -- This is the linux-help@xxxxxxxxx list. To unsubscribe,
> visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
>
NEVER put declarations or initializations inside loops unless you want
the same thing declared many times. That is not good practice.
Glad you found the problem.
Jeff
-- This is the linux-help@xxxxxxxxx list. To unsubscribe,
visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
|
|