zoozle
macro_rules! safe_scan { ($e:expr) => { ... }; ($e:ident) => { ... }; }
Scan macro like C++ cin. Ignores whitespace. Never call panic!(). If failed to translate into desired type, the default value will be assigned.
let x:i32; x=safe_scan!(9999);