EOF with FILE*

This is a discussion on EOF with FILE* within the C Programming forums, part of the General Programming Boards category; hi all, Is there a way to find whether EOF has reached with the file pointer (FILE*) ?. There is ...

  1. #1
    char main() RoshanX's Avatar
    Join Date
    Mar 2003
    Posts
    68

    EOF with FILE*

    hi all,

    Is there a way to find whether EOF has reached with the file pointer (FILE*) ?. There is a funtion eof() in DOS but it's not a standard funtion.

  2. #2
    eh ya hoser, got a beer? stumon's Avatar
    Join Date
    Feb 2003
    Posts
    323

    Re: EOF with FILE*

    Originally posted by RoshanX
    hi all,

    Is there a way to find whether EOF has reached with the file pointer (FILE*) ?. There is a funtion eof() in DOS but it's not a standard funtion.
    Click here for some examples of the best way to find the end of file.
    The keyboard is the standard device used to cause computer errors!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. EOF Explanation Anybody?
    By blackcell in forum C Programming
    Replies: 1
    Last Post: 01-29-2008, 08:09 PM
  2. EOF or not EOF?
    By CornedBee in forum Linux Programming
    Replies: 2
    Last Post: 09-14-2007, 02:25 PM
  3. EOF messing up my input stream?
    By Decrypt in forum C++ Programming
    Replies: 4
    Last Post: 09-30-2005, 03:00 PM
  4. whats the deal with EOF really ???
    By gemini_shooter in forum C Programming
    Replies: 7
    Last Post: 03-06-2005, 03:04 PM
  5. files won't stop being read!!!
    By jverkoey in forum C++ Programming
    Replies: 15
    Last Post: 04-10-2003, 05:28 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21