linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Newbie Questions
@ 2002-04-09 21:39 Gyzmobro
  2002-04-09 22:14 ` Glynn Clements
  0 siblings, 1 reply; 3+ messages in thread
From: Gyzmobro @ 2002-04-09 21:39 UTC (permalink / raw)
  To: linux-c-programming

Linux Free Mail has been down so I haven't had a chance to respond to this 
thread and am now forced to use a proprietary email system. I hope I haven't 
missed parts of this thread and I don't have the last email, but here I go:

From what you've said, I would have to write a while loop that goes through
the file one line at a time and checks to see if it's
at the EOF through an if statement. How would I make
the program go through the file line by line? Is this 
if statement right:?

char c_check_eof[10];

if(fgets(c_check_eof, 10, fp) == "EOF")
{
 break;
}

Serban Giuroiu

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-25  8:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200204070157.g371vDs24544@superglide.netfx-2000.net>
2002-04-25  8:10 ` Newbie Questions Daniel
2002-04-09 21:39 Gyzmobro
2002-04-09 22:14 ` Glynn Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).