reading files from a directory

Rory McGuire rjmcguire at gmail.com
Wed Nov 25 02:09:15 PST 2009


miriac <1234go1 at gmail.com> wrote:
 
> Jesse Phillips Wrote:
> 
>> miriac Wrote:
>> 
>> > 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
>> 
>> As jcc7 mentioned it sounds like you're using a Tango example without 
installing Tango first. For more details about starting with D:
>> 
>> http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/StartingWithD
> 
> I really do want to stick to tongo, i instaled it with the instructions in the 
tongo book but i can try downlding it again and see if it works
> thanks
> 

My reply before checking the docs:

if its not working after installation then the import paths are incorrect.

you could start by checking that.

and also note that tango trunk and the latest tango release are somewhat 
different.

also it looks like you should be using trunk because the next release is due out 
shortly.

My reply after checking the api docs:

I don't see tango.io.FileRoots anywhere, check the version of tango you are 
trying to use.



More information about the Digitalmars-d-learn mailing list