RUST Programming Language – Hello World tutorial # 1

RUST Programming Language – Hello World

How to create New Project in Rust?

cargo new ProjectName

How to Run , your first project in Rust?

Go to project directory first and then run the following command.

cargo run

How to find version of RUST?

Its very simple.

cargo --version

 

SOURCE CODE


fn main() {
    println!("Hello, XYZ!");
}

Tony BB
 

TonyBB is a Coach , marketer, hypnotist and a founder of RSKVF Production who specializes in providing simple, affordable, and easy to use solutions for Life.

Click Here to Leave a Comment Below 0 comments

Leave a Reply: