linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gyzmobro@aol.com
To: linux-c-programming@vger.kernel.org
Subject: Re: Newbie Questions
Date: Tue, 9 Apr 2002 17:39:39 EDT	[thread overview]
Message-ID: <f7.19630fb1.29e4b99b@aol.com> (raw)

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

             reply	other threads:[~2002-04-09 21:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-09 21:39 Gyzmobro [this message]
2002-04-09 22:14 ` Newbie Questions Glynn Clements
     [not found] <200204070157.g371vDs24544@superglide.netfx-2000.net>
2002-04-25  8:10 ` Daniel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7.19630fb1.29e4b99b@aol.com \
    --to=gyzmobro@aol.com \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).