Professional Documents
Culture Documents
Hello World - Rust by Example
Hello World - Rust by Example
Hello World - Rust by Example
2023 12:47
Hello World
This is the source code of the traditional Hello World program.
$ rustc hello.rs
$ ./hello
Hello World!
Activity
Click 'Run' above to see the expected output. Next, add a new line with a second
println! macro so that the output shows:
Hello World!
I'm a Rustacean!
https://doc.rust-lang.org/rust-by-example/hello.html Stránka 1 z 1