04-15-2015, 12:49 PM
@YinYin: You could try to implement the following in order to not rely on lf2.exe being called lf2.exe (or that it even exists):
C++-Code:
string Directory = GetFileDirectory(); bool DirectoryFound = false; while(UpOneDirectory(Directory) && !DirectoryFound){ bool FoundAllFiles = true; for(int i = 0;i<BitmapFilenames.size();++i){ if(!FileExists(Directory+BitmapFilenames[i])){ FoundAllFiles = false; break; } } } if(!DirectoryFound) return;//could not find directory //load files |
Age ratings for movies and games (and similar) have never been a good idea.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.