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 #49319 is a reply to message #49317] Thu, 25 January 2018 12:58 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi cbporter,

I guess it is designed this way on purpose, so you can write it using for cycle. It ussually seems slightly nicer and requires less lines of code Smile
for(FindFile ff(""); ff; ff.Next()) {
    DUMP(ff.GetPath());
}


Best regards,
Honza
 
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 20:47:45 CEST 2024

Total time taken to generate the page: 0.02305 seconds