CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    How to read in a large txt file?

    HI,everyone:
    I want to read in a large txt file about 180kb. First I use ifstream object ,
    just like this ifstream inFile("filename") ;

    where filename is the large file's name ,but it seems didn't work .What's wrong with it?
    can you help me?
    thanks!


  2. #2
    Join Date
    Jun 1999
    Location
    A.P., INDIA
    Posts
    27

    Re: How to read in a large txt file?

    There should be no problem reading in a file of size > 180 KB. I have worked with files of size = 274 KB without facing any problems.
    It would be worthwhile to let us see your code which handles the file reading operation together with the error message or the exact description of the problem you are facing. It is difficult to decipher from your message '...but it seems didn't work'.


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