Answers for "rust get name of program"

0

rust program name

println!("Program: {}", std::env::args().next().unwrap());
Posted by: Guest on March-14-2021

Browse Popular Code Answers by Language