Skiping whitespace

matovitch camille.brugel at laposte.net
Mon May 27 00:02:23 PDT 2013


On Sunday, 26 May 2013 at 23:32:36 UTC, Ali Çehreli wrote:
>
> A single space character in the format specifier is a 
> placeholder for zero or more whitespace characters:
>
> import std.stdio;
>
> void main()
> {
>     float x;
>     float y;
>     float z;
>
>     auto file = File("deneme.txt");
>
>     file.readf(" %s %s %s", &x, &y, &z);
> }
>
> Ali

Great ! Thanks a lot.



More information about the Digitalmars-d mailing list