Difference between revisions of "Intermediate C++ Game Programming Tutorial 24"
From Chilipedia
(→Topics Covered) |
(→Video Timestamp Index) |
||
Line 11: | Line 11: | ||
== Video Timestamp Index == | == Video Timestamp Index == | ||
* [https://youtu.be/JlPsCoCO99o Tutorial 24.1] | * [https://youtu.be/JlPsCoCO99o Tutorial 24.1] | ||
+ | * [https://youtu.be/LsjFAx-dG5I Tutorial 24.2] | ||
== Supplementary Link == | == Supplementary Link == |
Revision as of 20:20, 10 March 2018
Associative containers are super useful, both as a convenient fast way to create dictionary or mapping for real-world problems like managing game resources, and as a data structure to help solve more abstract algorithmic computer science problems. And hash tables are fast as balls.
Topics Covered
-
std::map
container interface - Binary tree data structure
-
std::map
key requirements (comparison) -
std::map
gotchas (std::remove_if
andconst
keys) -
std::set
-
std::multimap
andstd::multiset