0
Juce C++ not finding Files in directory
I believe I have followed the documentation correctly, when trying to find files from my juce APP it simply does not find them. This is my code: juce::File dirToSearch("/Users/charles/Documents/OOP%20Course/UniCourse/OttoDecks/tracks"); auto presetFiles = testFile.findChildFiles(juce::File::TypesOfFileToFind::findFiles, false, "*"); std::cout << presetFiles.size() << std::endl; std::cout << "test: " << presetFiles[1].getFileName() << std::endl; And this is returned: 0 test: Any help would be appreciated.
1 Antwort
0
Have you tried replacing the "%20" portion with a single space in the directory name?