Function template_cp::iom::file_reader
source · pub fn file_reader(filename: &str) -> Result<Scanner<BufReader<File>>>
Expand description
Creates a Scanner from a file
Examples
use template_cp::file_reader;
let mut scan = file_reader("in.txt").unwrap();
let n: i32 = scan.tok();