Back to Browse

How to Program in C++ - Vectors | E11

145 views
Dec 15, 2025
14:39

Stop wasting time writing manual arrays and loops in C++. In this video, I show you how to use std::vector, the most important container in the C++ Standard Template Library (STL), so you can write cleaner, safer, and more powerful code for your games. You’ll learn what vectors are, how dynamic arrays work, and how to use essential functions like push_back, size, empty, insert, erase, and clear with simple, step by step examples you can follow in Visual Studio or your favorite IDE. This lesson is part of a full free C++ course for aspiring game developers, especially if you want to work with Unreal Engine or transition from another career into the video game industry. We’ll keep building from here into other STL containers in the next videos, so you can move from “I’m learning C++” to “I’m building real systems for my games.” To go deeper, visit wulum.com to learn more about the Game Creator Accelerator Lifetime Mentorship Program and how it helps professionals break into game development with real projects, strategy, and community. --------- 🗣️ BOOK 1:1 Zoom Call: https://calendly.com/tony-566/one-to-one 🎮 FREE Training: https://www.wulum.com/freetraining 🎓 Learn more about my LIFETIME Mentorship: https://www.wulum.com --------- ✔️📱Follow me on X: https://twitter.com/wulumgames ✔️📱Say Hi on Instagram: https://www.instagram.com/wulumltd ✔️📱Get inspired on Pinterest: https://ca.pinterest.com/wulumgames/ ✔️📱Connect with me on LinkedIn: https://www.linkedin.com/in/tonymunozdev ✔️📱Subscribe to the Channel: https://www.youtube.com/@TonyMunozDev ✔️📱And yes, I also have Facebook: https://www.facebook.com/wulumltd --------- 📺Next Episode: ✅ E12 - Lists in C++: https://youtu.be/M-SsWq6CXBw 📺Other Episodes: ✅ E01 - Setup Visual Studio & Run Your First Program: https://youtu.be/s1Rejo1q_1k ✅ P02 - Variables, Data Types, and Constants: https://youtu.be/yjD-93zCaOA ✅ E03 - C++ Operators Explained for Game Devs: https://youtu.be/rOdTMoM7rMc ✅ E05 - Intro to Loops https://youtu.be/2GUUNiJ5SdU ✅ E06 - Functions and Pass Parameter by Value and by Reference: https://youtu.be/Ws9_tgD4l8E ✅ E07 - Arrays and Strings in C++: https://youtu.be/ByqsEejjPsI ✅ E08 - Pointers in C++: https://youtu.be/Xf_rtixhiwg ✅ E09 - Intro to Object Oriented Programming https://youtu.be/TMn5Kc1pefg ✅ E10 - Advanced Object-Oriented Programming: https://youtu.be/pxtj7mwJ7NI ✅ E11 - Vectors: https://youtu.be/kzDv78VTh2Y ✅ E12 - Lists: https://youtu.be/M-SsWq6CXBw 📺The Entire Series of C++: ✅ HOW TO PROGRAM in C++ | Beginners FREE Course: https://www.youtube.com/playlist?list=PLjlIN9XAUewgdy9_Qh1dbREj_yk2fd1vG --------- 📺Or Watch Game Dev Career Strategies: 🎮 Quitting My Job To Make Video Games Changed Everything: https://youtu.be/-8bIZ8Wp8Wo 🎮 Game Devs are Not Rational: https://youtu.be/yLwSHSs3mz4 🎮 Stop Hiding Your Work - Get Noticed in the Gaming Industry: https://youtu.be/LLRRze6mVS8 🎮 Why AAA Projects are Failing and How Indies Can Succeed: https://youtu.be/9s7msTOs8kc 🎮 Proof Wins! What Did you Create This Week: https://youtu.be/j3n1mXP1-YI --------- https://youtu.be/kzDv78VTh2Y 00:00 Intro 01:45 What is the Standard Template Library suffering. 02:21 What are Vectors 02:28 Creating a Vector 04:55 Get the Size of the Vector 05:36 Remove an element from a Vector 06:15 Is the Vector Empty 07:14 Get an element from the Vector 10:18 Insert an element in the middle of the Vector 11:26 Remove an element from the middle of the Vector 13:02 Clear the entire Vector #cpp #cplusplus #cpptutorial #cppforbeginners #learncpp #gamedevelopment #gamedev #indiedev #unrealengine #unrealengine5 #unrealtutorial #programmingforgamedev #gameprogramming #codingforgamedev #stdvector #stl #standardtemplatelibrary #careerinvideogames #gamecreatoraccelerator #wulum C++, cpp tutorial, learn C++, C++ for beginners, C++ vectors, std::vector, C++ STL, standard template library, dynamic arrays C++, C++ containers, C++ programming, game programming, game development, gamedev, indie game dev, Unreal Engine, Unreal Engine 5, Unreal C++ tutorial, C++ for game development, coding for games, beginner C++ course, C++ full course, game creator accelerator, career in video games, wulum, Tony Munoz

Download

0 formats

No download links available.

How to Program in C++ - Vectors | E11 | NatokHD