-
Rust연습_탐색기창에서VSCode불러오고TestRust프로젝트만들기(첫문서)코딩Coding/Rust연습 2021. 5. 8. 00:48728x90
cmd 엔터
code . -r "프로젝트 이름"
cargo new "프로젝트이름" --bin
cd "프로젝트이름"
cargo run
잘 나오는지 확인하기
변수 만들기
Rust연습_변수 만들고 출력 (tistory.com)
Rust연습_변수 만들고 출력
fn main() { let a_number = 10; let a_boolean = true; println!("the number is {}.", a_number); println!("the boolean is {}.", a_boolean); } 결과 변수 만들기 및 사용 - Learn | Microsoft Docs 변수 만..
economiceco.tistory.com
데이타 형식 알아보기 연습
Rust연습_데이터 형식 알아보기(u32, i32..) (tistory.com)
Rust연습_데이터 형식 알아보기(u32, i32..)
fn main() { // Addition println!("1 + 2 = {}", 1u32 + 2); // Subtraction println!("1 - 2 = {}", 1i32 - 2); // ^ Try changing `1i32` to `1u32` to see why the type is important // Integer Division pri..
economiceco.tistory.com
반응형'코딩Coding > Rust연습' 카테고리의 다른 글
Rust연습-Shadowing (0) 2021.05.08 Rust연습-Mutability_ In Rust, variable bindings are immutable by default. (0) 2021.05.08 Rust연습_데이터 형식 알아보기(u32, i32..) (0) 2021.05.08 Rust연습_변수 만들고 출력(Create and use variables) (0) 2021.05.08 rust연습_속도란 바로 rust가 짱 ㅋㅋ (0) 2020.09.10 Rust_티스토리_코딩자료_올리기-Highlight.js (0) 2020.09.10 Rust연습_if절_else if _ else (0) 2020.09.05 Rust연습_ X출력하기 (0) 2020.09.05