Hello everyone,
Are there any samples to traverse a directory and list all the file names? Written in C.
thanks in advance,
George
Hello everyone,
Are there any samples to traverse a directory and list all the file names? Written in C.
thanks in advance,
George
You mean like the one in the FAQ? Or the one that gets answered every week when someone asks again?
Quzah.
Hope is the first step on the road to disappointment.
The FAQ mentioned is here: http://faq.cprogramming.com/cgi-bin/...&id=1044780608
Well, it wouldn't be standard C. You can't do something like that in standard C.Written in C.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
The former...no, wait. The latter. OH GOD! Let me choose both!Originally Posted by quzah
If you understand what you're doing, you're not learning anything.