Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Huge Text Files

Huge Text Files

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JoeGonzalez
    wrote on last edited by
    #1

    Saludos: I am in the need for reading huge text files and displaying the contents of the file page by page. I have read many of the articles in the Doc/View section but right now I am confused into wich way to go. I am an experienced mainframe programmer but really a newbee in MFC/C++. Any help with this will be very much appreciated. Cordially; Joe González

    D 1 Reply Last reply
    0
    • J JoeGonzalez

      Saludos: I am in the need for reading huge text files and displaying the contents of the file page by page. I have read many of the articles in the Doc/View section but right now I am confused into wich way to go. I am an experienced mainframe programmer but really a newbee in MFC/C++. Any help with this will be very much appreciated. Cordially; Joe González

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      JoeGonzalez wrote: I am in the need for reading huge text files How huge is "huge?" Have you considered a CEdit or CRichEdit control? Are the files viewable by, say, Notepad? If so, why not just use it?


      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

      D 1 Reply Last reply
      0
      • D David Crow

        JoeGonzalez wrote: I am in the need for reading huge text files How huge is "huge?" Have you considered a CEdit or CRichEdit control? Are the files viewable by, say, Notepad? If so, why not just use it?


        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        D Offline
        D Offline
        digwizfox
        wrote on last edited by
        #3

        Good question. Also keep in mind that when it comes to "HUGE", say > 100MB of text data, I would not recommend using notepad. Notepad is terribly inefficient for some reason. Wordpad handles large text files, for viewing, much more effectively.

        D 1 Reply Last reply
        0
        • D digwizfox

          Good question. Also keep in mind that when it comes to "HUGE", say > 100MB of text data, I would not recommend using notepad. Notepad is terribly inefficient for some reason. Wordpad handles large text files, for viewing, much more effectively.

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          digwizfox wrote: Notepad is terribly inefficient for some reason. Wordpad handles large text files, for viewing, much more effectively. I'm aware of Notepad's inefficiencies. I was only using it as an example as more folks are familiar with it than are Wordpad.


          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          J 1 Reply Last reply
          0
          • D David Crow

            digwizfox wrote: Notepad is terribly inefficient for some reason. Wordpad handles large text files, for viewing, much more effectively. I'm aware of Notepad's inefficiencies. I was only using it as an example as more folks are familiar with it than are Wordpad.


            "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

            J Offline
            J Offline
            JoeGonzalez
            wrote on last edited by
            #5

            What I mean by huge is an average of 4 to 10 gb each file. These files are generated by a mainframe process. By regulatory requirements, I can not modify the contents of the files or split then in any way. The MFC's CEdit and CRichEdit do have a limitation. Neither Notepad or Wordpad are capable of displaying these files in an acceptable way. I will appreciate wery much any help you can give me on this problem.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups