Rust lottery app on Terminal
The Rust Programming Language Forum
Rust lottery app on Terminal
I am from Bangladesh ,Rust is basically non-existent here. And my environment is Termux on my phone. I have written this lottery app code,I will be glad if someone reviews it. It takes names from user,saves it,then picks up random names as lotteries,the user can also delete names. It's my first project that I have written myself from scratch. use rand::RngExt; //Written for rand v0.10.2 use std::fs; use std::io; use std::path::Path; const SAVE_NAMES: &str = "names.txt"; fn save_names(list: &[St...
0 comments
No comments yet.