C++ List Tutorial - Real Examples, Sorting, and When to Use
Offered By: CodeBeauty via YouTube
Course Description
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
Related Courses
Algorithms, Part IPrinceton University via Coursera Conception et mise en œuvre d'algorithmes.
École Polytechnique via Coursera 数据结构与算法 Data Structures and Algorithms
Peking University via Coursera 高级数据结构与算法
Peking University via Coursera Principles of Computing (Part 2)
Rice University via Coursera