Complete.Org: Mailing Lists: Archives: linux-help: June 2002:
[linux-help] Re: Problem with C program
Home

[linux-help] Re: Problem with C program

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Re: Problem with C program
From: Jeff Vian <jvian10@xxxxxxxxxxx>
Date: Thu, 06 Jun 2002 09:03:41 -0500
Reply-to: linux-help@xxxxxxxxx

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


[Prev in Thread] Current Thread [Next in Thread]