How can I read a directory in a C program?

Showing Answers 1 - 2 of 2 Answers

Girish

  • Jul 23rd, 2005
 

there is some functions in dos.h heder file . In(turbo) c++ compiler you will get some example to manipulate the directory

  Was this answer useful?  Yes

Yashwant S pinge

  • Mar 27th, 2006
 

In Linux/Unix , we have the header file dirent.h.This .h file contains the direcory manipulation functions Some of the functions are opendir,closedir,readdir.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions