Hi, I am debugging a C++ application. when I compile it, the compiler gives an error

fatal error C1083: Cannot open include file: 'dir.h': No such file or directory

I have seached for the file dir.h, but I could not find it.
Please help.

Because dir.h is a fossil DOS header file, and your compiler is something more modern perhaps.

You should be using this API and related functions for getting directory information in a win32 environment.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.