Rust Crash Course | #12 Vectors

  Рет қаралды 914

Code of the Future

Code of the Future

Күн бұрын

Welcome back to video number 12 in this Rust tutorial series! In this video, we learn about vectors. If you're used to programming in languages like Python, you might be familiar with arrays. In Rust, we are not able to do the same commands with arrays like in Python so that's where vectors come in!
📖Resources📖
Rust Online Book: doc.rust-lang.org/book/
💻Code💻
github.com/code-of-the-future...
⏰Time Stamps⏰
00:00 - Recap of Previous Video (where a vector was used)
00:38 - Introduction to Vectors
02:00 - Creating a Vector
03:10 - Creating an Empty Vector
04:38 - Operations with Vectors
04:52 - Reassigning Values in a Vector
06:12 - Finding Specific Elements in a Vector
07:09 - Finding the Length of a Vector
07:51 - Adding to a Vector (push command)
08:35 - Removing Last Entry (pop command)
09:00 - Looping Through a Vector
10:34 - Looping and Mutating
🔗 Social Media Links 🔗
📸 Instagram: / codeofthefuture
📱TikTok: / codeofthefuture
📘Facebook: / codeofthefuture
🦜Twitter: / code_ot_future
📝LinkedIn: / code-of-the-future
📂GitHub: github.com/code-of-the-future
💸 Donations 💸
One-Time Donations: ko-fi.com/codeofthefuture
Patreon: / code_of_the_future

Пікірлер: 5
@LTibor2012
@LTibor2012 Жыл бұрын
Thank you, Ellie!
@user-bf6yx4nn5k
@user-bf6yx4nn5k 6 ай бұрын
amazing video, thank you very much :)
@ciso
@ciso Жыл бұрын
Great tutorial
@clarencewashington7881
@clarencewashington7881 Жыл бұрын
I couldn't figure why my vector wasn't compiling 😠. I'm happy now that 😁 I figured it out. My code looked identical. Gave me issue sign but it wasn't it. My curly braces were the issue. The first one ran. The second one didn't. 🤔🤨 I know why now. Thank you 🙏🏾 Sorry I haven't been keeping up. Error found and solved. 😁
@amjadiqbal478
@amjadiqbal478 Жыл бұрын
Ellie thank you very much. Structs and Vectors are the most important concepts🐯🙏🇵🇰
Rust Crash Course | #13 Pointers and Referencing
8:02
Code of the Future
Рет қаралды 4,5 М.
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 6 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 2,5 МЛН
Luck Decides My Future Again 🍀🍀🍀 #katebrush #shorts
00:19
Kate Brush
Рет қаралды 8 МЛН
Vivaan  Tanya once again pranked Papa 🤣😇🤣
00:10
seema lamba
Рет қаралды 29 МЛН
Rust Crash Course | #14 Structs
25:31
Code of the Future
Рет қаралды 1,5 М.
Learning how to use the * Dereference operator | Rust Language
12:36
Rust Crash Course | #15 Enums
26:34
Code of the Future
Рет қаралды 1,5 М.
10 Nooby Mistakes Devs Often Make In Python
24:31
Indently
Рет қаралды 48 М.
you need to build a RUST desktop app!!
27:21
Travis Media
Рет қаралды 285 М.
Rust Crash Course | #8 Functions
24:09
Code of the Future
Рет қаралды 844
Rust Option Enum Type Overview
20:39
Trevor Sullivan
Рет қаралды 3,2 М.
Rust: Vectors
14:04
The Dev Method
Рет қаралды 4,3 М.
Protocol Buffers Crash Course
36:07
Hussein Nasser
Рет қаралды 236 М.
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 6 МЛН