July 18, 2010 Re: Equivalent of scanf | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan M Davis | 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 |
Copyright © 1999-2021 by the D Language Foundation