中国DOS联盟论坛

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-08-25 21:30
47,812 topics / 349,910 posts / today 0 new / 48,264 members
其它操作系统综合讨论区 » C Programming
Printable Version  656 / 1
Floor1 r59416 Posted 2003-07-22 00:00
初级用户 Posts 9 Credits 141 From 天津
What I need to program now is this: find and process files with the same name under different directories. I couldn't find a function in C's function library that can search for files including subdirectories.
C++ is fine too. Could one of the experts help me out? Thanks!
Floor2 红色狂想 Posted 2003-07-25 00:00
金牌会员 Posts 1,501 Credits 4,289 From 河南省
I remember that people usually use the principle of recursion to search the disk directory tree, and the results are quite good. You can use that for reference.

Also, please note that this thread should be posted in the "DOS Development and Programming" section. And another thing, the title of your post doesn't really fit the topic. I hope everyone will correct this in the future. Please don't think we're being long-winded, thanks for your cooperation!
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023