China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-25 22:38
中国DOS联盟论坛 » 其它操作系统综合讨论区 » C Programming View 658 Replies 1
Original Poster Posted 2003-07-22 00:00 ·  澳大利亚 Telstra全球互联网服务网络
初级用户
Credits 141
Posts 9
Joined 2003-06-20 00:00
23-year member
UID 5596
Gender Male
From 天津
Status Offline
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!
Floor 2 Posted 2003-07-25 00:00 ·  中国 河南 驻马店 联通
金牌会员
★★★★
龙哥DOS
Credits 4,289
Posts 1,501
Joined 2003-02-23 00:00
23-year member
UID 983
Gender Male
From 河南省
Status Offline
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!
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
C++ ☆☆☆ 中国DOS联盟成员 ☆☆☆ C++
C++ ★★★ 爱提问的红色狂想 ★★★ C++
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
Forum Jump: