Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I have a project in school using pike language. I've never used it before and I have a question: How do I get a list of file names from a given path?
For example: How do I get all the files in C:\Users\Downloads?
C:\Users\Downloads
您可以get_dir()为此任务使用函数。在此处阅读更多相关信息。一般来说,Pike 在上面的 url 下有相当好的文档。
get_dir()