Skip to content

How to create a project using Rust with an additional beginner markdown project

Notifications You must be signed in to change notification settings

MirandaKim1434/Creating_a_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

rust-creating-project

How to get started with Rust quick. Install Rustc for Mac and Linux.

curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh

Rust

computers and rust

Creating a Project

  1. Create Project

    • mkdir $project_name
  2. Finding Project

    • cd $project_name
  3. Writing and Running:

    • Create file name: main.rs
fn main() { 
   println!("hello!"); 
}
  1. Save file

  2. Go back to terminal window

 rustc main.rs
 ./main
# Hello!
  • Regardless of operating system, the string project name should print to the terminal. If you don’t see this refer to troubleshooting.

  • If it printed you have written the program

Click here to reference Rust Programming Language.

Beginner Markdown Project: If your interested in a simple mark down project and if you would like a recipe on a DIY Face Mask click link for a complete reciepe

About

How to create a project using Rust with an additional beginner markdown project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published