Results 1 to 3 of 3

Thread: EOF

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 1999
    Posts
    204
    how do you do eof in c++ is in infile.eof or what i haev been trying for hours and still cant get it ..

    do
    {



    }while(infile != infile.eof);


    is that how some one help me here
    WHat would we do with out Microsoft.
    A lot more.

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Code:
    while(!infile.eof()) {
        ...
    }
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 1999
    Posts
    204
    thank you i will work on that
    WHat would we do with out Microsoft.
    A lot more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width