Re: sscanf replacement in D

2014-06-15 Thread Igor via Digitalmars-d
On Monday, 16 June 2014 at 01:08:33 UTC, safety0ff wrote: On Monday, 16 June 2014 at 01:05:46 UTC, Igor wrote: Hi, I came to D from the C++ world. What is sscanf replacement? std.streams seems deprecated, std.stdio doesn't offer something like readf for string. What should I use? std.format is

sscanf replacement in D

2014-06-15 Thread Igor via Digitalmars-d
Hi, I came to D from the C++ world. What is sscanf replacement? std.streams seems deprecated, std.stdio doesn't offer something like readf for string. What should I use?

Re: sscanf replacement in D

2014-06-15 Thread safety0ff via Digitalmars-d
On Monday, 16 June 2014 at 01:05:46 UTC, Igor wrote: Hi, I came to D from the C++ world. What is sscanf replacement? std.streams seems deprecated, std.stdio doesn't offer something like readf for string. What should I use? std.format is one option: http://dlang.org/phobos/std_format.html#.form