reading files from a directory

jcc7 jccalvarese at gmail.com
Tue Nov 24 13:10:16 PST 2009


== Quote from miriac (1234go1 at gmail.com)'s article
> I'm trying to get my program to read all the files in a directory.
> dmd gives an errer that theis imports dont exist:
>  tango.io.FileSystem,
>  tango.io.FileRoots,
> Can someone please help me and tell me what i use to do so?
> thanxs
> M

Did you install Tango? It sounds like you're trying to use Tango, an
alternative runtime library for D.

If you're open to a non-Tango example, you might try:
http://www.dsource.org/projects/tutorials/wiki/ListDirExample

jcc7


More information about the Digitalmars-d-learn mailing list