如何获取文件信息/搜索目录

Cha*_*unt 0 c++ windows io file

我想知道你怎么做像gettling文件信息,在c ++中搜索目录/子目录的东西?我应该看一个特定的图书馆吗?

在一些例子中我看到这样的东西:

#include <sys/types.h>
#include <sys/stat.h>
Run Code Online (Sandbox Code Playgroud)

不知道他们来自哪里..谢谢!

编辑:我正在用Windows btw编程