Anonymous user
Guess the number/With feedback (player): Difference between revisions
Guess the number/With feedback (player) (view source)
Revision as of 12:38, 7 January 2014
, 10 years ago→{{header|Rust}}
Line 1,847:
let buf: &mut [u8] = [0u8, ..8];
let num_bytes = stdin.read(buf);
let answer = str::
match answer {
"e" | "E" => {
|