Auteur
Auteur
DDeno
Created by Auteur on 5/13/2024 in #help
My Website hosting just stopped working randomly
I'm using qwik framework and deno deploy. My website was hosted just fine on www.morningharwood.com and randomly it stopped working w/o any config changes. error seems very weird: This site can’t be reachedCheck if there is a typo in www.morningharwood.com. If spelling is correct, try running Windows Network Diagnostics. DNS_PROBE_FINISHED_NXDOMAIN
2 replies
DDeno
Created by Auteur on 8/21/2023 in #help
What is the std library for making a guessing game like shown in rust?
use std::io;

fn main() {
println!("Guess the number!");

println!("Please input your guess.");

let mut guess = String::new();

io::stdin()
.read_line(&mut guess)
.expect("Failed to read line");

println!("You guessed: {guess}");
}
use std::io;

fn main() {
println!("Guess the number!");

println!("Please input your guess.");

let mut guess = String::new();

io::stdin()
.read_line(&mut guess)
.expect("Failed to read line");

println!("You guessed: {guess}");
}
2 replies