Answers for "rust argv"

0

rust argv

use std::env;

// Prints each argument on a separate line
for argument in env::args() {
    println!("{}", argument);
}
Posted by: Guest on November-02-2021

Browse Popular Code Answers by Language