command line1 [Rust] Command Line Program 제작 (28일차) // Cargo.toml 과 동일한 위치의 최상단 경로에 poem.txt 생성 I'm nobody! Who are you? Are you nobody, too? Then there's a pair of us — don't tell! They'd banish us, you know. How dreary to be somebody! How public, like a frog To tell your name the livelong day To an admiring bog! // $cargo run the poem.txt 명령어를 입력하여 실행 use std::env; use std::fs::File; use std::io::prelude::*; fn main() { let args: Vec = env::arg.. 2023. 1. 10. 이전 1 다음