View mode: basic / threaded / horizontal-split · Log in · Help
July 18, 2010
Re: Equivalent of scanf
Andrei checked readf in a few days ago:

http://www.dsource.org/projects/phobos/changeset/1721

So, it should be in the next release (end of July/beginning of August?)
Would readf help you?

For files, there is also std.file.slurp if you know the way your file is
formatted:

http://digitalmars.com/d/2.0/phobos/std_file.html#slurp

Before you ask, the name comes from Perl :-)



Philippe
July 18, 2010
Re: Equivalent of scanf
Thanks again Jonathan, that was informative and helpful. I have enough info now to
get what I want done without having to resort to using the standard C library.

According to Philippe's post, D's scanf (readf) should be included in the next
release. Excellent =D
Next ›   Last »
1 2
Top | Discussion index | About this forum | D home