VIBE CODING RUST
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
extern crate rand;
use std::io;
use rand::Rng;
fn main()
{
println!("Guess the number:");
println!("Please enter your guess:");
let secret_number = rand::thread_rng().gen_range(1,101);
println!("The secret number is {}", secret_number);
let mut guess = String::new();
io::stdin().read_line(&mut guess).expect("Failed to read line");
println!("Your guess:{}",guess);
}
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQRzfPoL23PrstrYzNYwsSr5Sej4YwUCaFcHYQAKCRAwsSr5Sej4
YxDxAP0Vy53SSO3RGeXHH3WstMYfDZXXxcFiTkYVtObVgNO9IwD8DILtLwX4EgSG
Kz5tR747GjkBZ1R3RPWH1RNpuK/T9Qw=
=Oi7t
-----END PGP SIGNATURE-----
It's been a while since I tried to learn this rusty computer language.It is facist but it has discipline It counters buffer overflow. They
said it is the safest programming language today. But a newbie I have a lot of things to learn about it. I am still leaning the ropes.:
Hash: SHA512
extern crate rand;
use std::io;
use rand::Rng;
fn main()
{
println!("Guess the number:");
println!("Please enter your guess:");
let secret_number = rand::thread_rng().gen_range(1,101);
println!("The secret number is {}", secret_number);
let mut guess = String::new();
io::stdin().read_line(&mut guess).expect("Failed to read line");
println!("Your guess:{}",guess);
}
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQRzfPoL23PrstrYzNYwsSr5Sej4YwUCaFcHYQAKCRAwsSr5Sej4
YxDxAP0Vy53SSO3RGeXHH3WstMYfDZXXxcFiTkYVtObVgNO9IwD8DILtLwX4EgSG
Kz5tR747GjkBZ1R3RPWH1RNpuK/T9Qw=
=Oi7t
-----END PGP SIGNATURE-----
It's been a while since I tried to learn this rusty computer language.It is facist but it has discipline It counters buffer overflow. They
said it is the safest programming language today. But a newbie I have a lot of things to learn about it. I am still leaning the ropes.:
<< Home