Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

rust argv

use std::env;

// Prints each argument on a separate line
for argument in env::args() {
    println!("{}", argument);
}
Source by doc.rust-lang.org #
 
PREVIOUS NEXT
Tagged: #rust #argv
ADD COMMENT
Topic
Name
6+8 =