Hash from two arrays: Difference between revisions

Content deleted Content added
→‎{{header|AutoHotkey}}: AutoHotkey example added
Line 227:
 
=={{header|C++}}==
By strict definitionTechnically a std::map is a binary search tree, not a hash table, but it provides the same functionality. The C++-200x update to the C++11 standard isincorporates incorporatinghash hashestables. WhenTo theyuse area standardizedhash thetable codein belowC++11, cansimply change ''std::map'' to ''std::unordered_map'' and this will technically be a hash table. The core idea, turning two sequences into an associative mapping, is valid either way.
 
<lang cpp>#include <map>