
모든 예제는 윈도우 환경에서 실행하였습니다. 러스트의 Hello World 아래 명령어를 실행해 새로운 프로젝트를 만든다 cargo new hello2 cd hello2 // 새로 만든 프로젝트로 이동 src/main.rs 파일을 텍스트 편집기로 연다 아래 예제를 작성한다 cargo run 으로 실행 fn greet_world() { println!("Hello, world!"); let southern_germany = "Grüß Gott"; let korean = "헬로 월드!"; let region = [southern_germany, korean]; for region in region.iter(){ println!("{}", ®ion); } } fn main(){ greet_world() ..

모든 예제는 윈도우 환경에서 실행하였습니다. 러스트 설치 러스트 설치하려면 아래 사이트에서 제공하는 공식 설치 프로그램을 사용하자. https://rustup.rs/ rustup.rs - The Rust toolchain installer To install Rust, if you are running Unix, run the following in your terminal, then follow the onscreen instructions. curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh Copied! rustup.rs 처음 설치해봤는데.. 뭔가 보안 프로그램에서 난리다. 그래도 설치해본다.. 러스트 최초 실행 실행(키보드 win + R..
- Total
- Today
- Yesterday
- C++
- Interview
- 솔직후기
- 인터뷰
- 코딩인터뷰
- 속초 맛집
- DP
- 러스트 기초
- 알고리즘
- 반드시 알아야 할 자료구조
- 트리
- 리트코드
- 기술면접
- 맛집
- 러스트
- LeetCode
- coding interview
- 속초
- algorithm
- 러스트 입문
- 내돈내산
- interview question
- 자료구조
- Problem Solving
- Tree
- rust
- PS
- Medium
- 러스트 배우기
- ProblemSolving
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |