Hello World and Program Structure
Write your first Rust program and learn what fn main and println! do.
ดูบทเรียน →เรียนไวยากรณ์ Rust ทีละขั้น: ตัวแปร ชนิดข้อมูล สตริง เงื่อนไข ลูป ฟังก์ชัน อาร์เรย์ เวกเตอร์ และการรับข้อมูล
ลองใช้ Rust ออนไลน์Write your first Rust program and learn what fn main and println! do.
ดูบทเรียน →Declare variables with let, allow changes with mut, and use constants and shadowing.
ดูบทเรียน →Work with integers, floating-point numbers, booleans and characters, and convert between them.
ดูบทเรียน →Use arithmetic, comparison and logical operators, and see how integer division works.
ดูบทเรียน →Create, grow, search and split text with Rust's two string types.
ดูบทเรียน →Choose what runs with if, else if and else, and use if as an expression.
ดูบทเรียน →Repeat code with for over a range, while with a condition, and loop with break.
ดูบทเรียน →Group values with tuples and store a fixed number of items in an array.
ดูบทเรียน →