One of the most important things in a program is to read user input and in this video I show you how you can do this in Rust.
It is done through the stdin struct/stream and in this example we use the read_line method to feed user input from the console into a mutable String.
For more info, check out:
https://doc.rust-lang.org/std/io/stru...
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
On this page of the site you can watch the video online Rust Programming Tutorial #30 - Reading User Input with a duration of hours minute second in good quality, which was uploaded by the user dcode 18 December 2017, share the link with friends and acquaintances, this video has already been watched 28,527 times on youtube and it was liked by 497 viewers. Enjoy your viewing!