eduardolirainfo / hello_rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello Rust

This is a simple Rust program that prints "Hello, World!" to the console.

Prerequisites

  • Rust programming language (installed on your system)

How to Compile

  1. Open a terminal and navigate to the directory where the code is located (/hello_rs).
  2. Run the following command to compile the code:
    rustc hello.rs
  3. After successful compilation, an executable file named hello will be generated in the same directory.

How to Run

  1. Open a terminal and navigate to the directory where the code is located (/hello_rs).
  2. Run the following command to execute the program:
    ./hello
  3. You should see the output Hello, World! printed to the console.

License

This project is licensed under the MIT License - see the LICENSE file for details.


 

About


Languages

Language:Rust 100.0%