Was für glob_t und glob () auf Port zu Windows zu ersetzen?
Ich habe einen Code wie diesen:
#include <glob.h>
glob_t globBuf;
const int result = glob(remoteFileName.c_str(), 0, 0, &globBuf);
if (result == GLOB_NOSPACE) {
...
} else if (result == GLOB_NOMATCH) {
...
} else {
...
}
Aber ich finde nichtglob.h
an Fenstern.
Was würde ich unter Microsoft Windows verwenden, um äquivalente Funktionen zum Portieren dieses Codes von Linux bereitzustellen?