Directory functions not available

I am running Visual C++ 2010 Express on Windows 7 Ultimate SP1 32-bit.
I have written a small program aimed at reading the contents of a given directory.
However, while the program compiles correctly, it will not run as it says that opendir, readdir and closedir are unsatisfied externals.
What can I do about this?
opendir, readdir and closedir comes from POSIX world and are available with MinGW compiler.
http://tdragon.net/recentgcc/
Topic archived. No new replies allowed.