Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Problem loading very large data files (The system hangs up when loading data from large files.)
Re: Problem loading very large data files [message #61465 is a reply to message #61463] Tue, 18 February 2025 08:14 Go to previous message
Oblivion is currently offline  Oblivion
Messages: 1222
Registered: August 2007
Senior Contributor
Hello DMStevenson,

Quote:
That is, post the line to the DocEdit before retrieving another line




		if (infile.Open(file_name)) {
			while(!infile.IsEof()) {
				line = infile.GetLine();
                                memo.Append(line + "\n");
                                // Do some stuff...
			}
		}


This posts (appends) the line to DocEdit before retrieving the next line. Then you can do some other stuff in the loop if you need to.

Best regards,
Oblivion


[Updated on: Tue, 18 February 2025 08:15]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Getting Started U++ Framework examples?
Next Topic: Just a simple hello u++
Goto Forum:
  


Current Time: Thu Aug 07 20:45:51 CEST 2025

Total time taken to generate the page: 0.03018 seconds