我只想编写一个以目录名作为参数的程序
- Validate that it is in fact a directory
- Get a listing of all files in the directory and print it
最佳答案
目录这个词甚至没有出现在 C 标准中。这是一个操作系统的概念。
关于c - 验证目录名称的程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3866352/