Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

C++ List Tutorial - Real Examples, Sorting, and When to Use

CodeBeauty via YouTube

Overview

Dive into a comprehensive 35-minute video tutorial on C++ lists, exploring real-world applications and practical examples. Learn about STL containers, list manipulation techniques, and how to implement a matchmaking system used in popular video games. Discover the differences between lists and arrays (vectors), including their pros and cons. Gain insights into passing elements by value vs. reference, using const with reference passing, and sorting data in lists. Conclude with a comparison of lists and vectors, equipping you with the knowledge to choose the right container for your programming needs.

Syllabus

- What are STL Containers?
- How to use lists in C++?
- How to add elements to the list?
- How to print list elements?
- How to delete elements from the list?
- Using a list to build a game
- Creating a matchmaking system
- Passing elements by value VS passing elements by reference
- How to use const when passing elements by reference
- How to sort data in the list
- Pros and cons of the list
- Example of vectors in C++
- Lists vs vectors
- Conclusion

Taught by

CodeBeauty

Reviews

Start your review of C++ List Tutorial - Real Examples, Sorting, and When to Use

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.