Huge Text Files
-
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
-
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
JoeGonzalez wrote: I am in the need for reading huge text files How huge is "huge?" Have you considered a
CEdit
orCRichEdit
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
-
JoeGonzalez wrote: I am in the need for reading huge text files How huge is "huge?" Have you considered a
CEdit
orCRichEdit
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
-
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.
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
-
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
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.