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 » U++ Library support » U++ Core » I've been using FindFile wrong all these years
Re: I've been using FindFile wrong all these years [message #49320 is a reply to message #49319] Thu, 25 January 2018 13:10 Go to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
Thanks for the information! Might use a for from now on.

As I said, it is a silly mistake which, now that I fixed it across all the projects, turns out it didn't crop up only about 6-7 times. Enough to ruin some features...

Now that I'm aware of it, I won't make it again.

Anyway, I rewrote some of those loops to add the folders into a folder vector and files into a file vector, sort them both and then traverse the vectors. It makes my applications more well behaved on all platforms, since on Linux you get files and folder in random orders.
 
Read Message
Read Message
Read Message
Previous Topic: Question about SubRange.
Next Topic: Function.h: "expression cannot be used as a function"
Goto Forum:
  


Current Time: Thu May 09 07:42:49 CEST 2024

Total time taken to generate the page: 0.02432 seconds