![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-10-31 11:44 |
47,815 topics / 349,930 posts / today 0 new / 48,290 members |
| DOS开发编程 & 发展交流 (开发室) » Are there functions in C/C++ for "finding directories"? |
| Printable Version 1,001 / 2 |
| Floor1 r59416 | Posted 2003-07-29 00:00 |
| 初级用户 Posts 9 Credits 141 From 天津 | |
|
I know that in C/C++ there are the file-search functions "findfirst" and "findnext" for searching in the current directory. But I need to search for files under multiple directories. Does any expert know whether there is a function for finding other directories under the current directory?
|
|
| Floor2 ATLaS | Posted 2003-07-31 00:00 |
| 初级用户 Posts 29 Credits 169 | |
|
In direct.h there are opendir(), readdir(), and closedir() defined, which can be used to search directories and files.
|
|
| Floor3 r59416 | Posted 2003-08-04 00:00 |
| 初级用户 Posts 9 Credits 141 From 天津 | |
|
Thanks, big brother!
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |