History of Idiom 13 > diff from v58 to v59
Edit summary for version 59 by programming-idioms.org:
[Cpp] Split 2 ways into 2 snippets (implementations)
[Cpp] Split 2 ways into 2 snippets (implementations)
↷
Version 58
2019-08-05, 16:37:33
Version 59
2019-08-05, 16:38:52
Idiom #13 Iterate over map keys and values
Print each key k with its value x from an associative array mymap
Idiom #13 Iterate over map keys and values
Print each key k with its value x from an associative array mymap
Comments bubble
prefer '\n' to std::endl. std::endl flushes stdout, which you don't typically need or want.
Comments bubble