add example for std.stdio.stdin
Merge pull request #2806 from WalterBright/stdin-ex

add example for std.stdio.stdin