CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2002
    Posts
    12

    Reading the last line first from the file

    Hi,

    Is is possible to first read the last line in the file and then read from the first line thru last line - 1?

    I need the info that is stored at the last line in the file and I need that before I get any data and do any other manipulation.

    Thank you,

    Regards,
    Swati


  2. #2
    Join Date
    Feb 2002
    Location
    Makati City, Philippines
    Posts
    1,054

    Re: Reading the last line first from the file

    Yes, it's possible using Binary and Random Access. With Sequential (usually used on text files), no way.

    Marketing our skills - please participate in the survey and share your insights
    -

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

Featured