Video Chapters (table of content with clickable links into a specific part of the video)
00:00 Introduction about the video content
00:41 Prerequisites (you should have some programming skills in at least some language)
01:04 Command prompt (showing the Rust and Cargo version, creates new directory, starts Visual Studio Code)
01:55 Creates a Rust file with a "Hello World" program
02:36 Compiles "Hello World"
02:57 Executes "Hello World"
03:06 Replaces the implementation with code receiving arguments from the command line and the keyboard
10:19 Compiles and executes the program
Please note that you can choose to show english subtitles for the videos.
Currently (when this video was published) there are not many videos in the below playlists but please remember to subscribe to this channel if you think you are interested in future videos which will become added to the play lists.
Playlists for "Program arguments from command line and keyboard input" for different programming languages:
Playlist for the videos with english voice and english subtitles:
• Program arguments from command line a...
Playlist for the videos with swedish voice and swedish subtitles:
• Program argument från kommandoraden o...
Rust playlist (english):
• Rust - Command line arguments and use...
Rust playlist (swedish):
• Rust - Program argument från kommando...
Rust
https://www.rust-lang.org
https://en.wikipedia.org/wiki/Rust_(p...)
Cargo
https://doc.rust-lang.org/cargo
Vector struct 'Vec'
https://doc.rust-lang.org/std/vec/str...
Function 'std::env::args()'
https://doc.rust-lang.org/stable/std/...
Struct 'std::env::Args'
https://doc.rust-lang.org/std/env/str...
Method 'collect' in struct 'Args' and trait 'Iterator'
https://doc.rust-lang.org/std/env/str...
https://doc.rust-lang.org/std/iter/tr...
Slices
https://doc.rust-lang.org/book/ch04-0...
Macros 'println!' and 'print!'
https://doc.rust-lang.org/std/macro.p...
https://doc.rust-lang.org/std/macro.p...
Quote from above link: "Use the format! syntax to write data to the standard output. See std::fmt for more information."
'format!':
https://doc.rust-lang.org/std/macro.f...
'std::fmt':
https://doc.rust-lang.org/std/fmt/ind...
'for loops'
https://doc.rust-lang.org/rust-by-exa...
'let mut' ('let' and 'mut')
https://doc.rust-lang.org/std/keyword...
https://doc.rust-lang.org/std/keyword...
Struct 'String'
https://doc.rust-lang.org/std/string/...
'String::new()'
https://doc.rust-lang.org/std/string/...
Method 'String.trim()'
https://doc.rust-lang.org/std/string/...
Function 'std::io::stdin()'
https://doc.rust-lang.org/std/io/fn.s...
Struct 'std::io::Stdin'
https://doc.rust-lang.org/std/io/stru...
Method 'Stdin.read_line'
https://doc.rust-lang.org/std/io/stru...
Type 'std::io::Result'
https://doc.rust-lang.org/std/io/type...
Method 'Result.expect'
https://doc.rust-lang.org/std/result/...
Function 'std::io::stdout()'
https://doc.rust-lang.org/std/io/fn.s...
Struct 'std::io::Stdout'
https://doc.rust-lang.org/std/io/stru...
Trait 'std::io::Write'
https://doc.rust-lang.org/std/io/trai...
Method 'Write.flush()'
https://doc.rust-lang.org/std/io/trai...
Смотрите видео Rust - Command line arguments and user keyboard input онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Multilingual Programming 26 Март 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 109 раз и оно понравилось 3 людям.