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: https://doc.rust-lang.org/book/
💻Code💻
https://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: https://github.com/code-of-the-future
💸 Donations 💸
One-Time Donations: https://ko-fi.com/codeofthefuture
Patreon: / code_of_the_future