TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Daryl Willis
from: David Nugent
date: 1994-12-15 13:01:32
subject: C++

> Basicly I want a listing of all the directories in the current path
 > or in a specified path, to see if they match the desired criteria.
 > I have tried the findfirst() findnext() but cant seem to seperate the
 > files from the directories, I suspect that its possable but I am
 > having difficulty here.

There is an attribute which determines which entries are or are not directories.

See if you can find a file called "SNIP9304.ZIP". It contains a
fairly portable (under MSDOS at least) version of a function which does a
recursive directory search.

---

* Origin: Unique Computing, Melbourne, Australia (3:632/348)
SEEN-BY: 50/99 54/54 620/243 623/630 624/50 632/103 301 348 386 998 633/371
SEEN-BY: 633/379 634/384 635/301 502 503 541 544 636/100 639/100 711/401 409
SEEN-BY: 711/410 430 510 807 808 809 932 934 942 712/623 713/888 714/906
SEEN-BY: 800/1
@PATH: 632/103 348 635/503 50/99 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.