--- a/docs/Writerside/topics/map.h.md Sat Oct 11 15:42:48 2025 +0200 +++ b/docs/Writerside/topics/map.h.md Sun Oct 12 20:21:56 2025 +0200 @@ -22,7 +22,7 @@ pointers instead of actual items. If you pass zero for the number of `buckets`, or use `cxHashMapSimple()`, -the map is initialized with a default of 16 buckets, otherwise the specified number of buckets is allocated. +the map is initialized with a default of 16 buckets; otherwise the specified number of buckets is allocated. > If you want to lazy-initialize maps, you can use the global `cxEmptyMap` symbol as a placeholder instead of using a `NULL`-pointer. > While you *must not* insert elements into that map, you can safely access this map or create iterators. @@ -80,7 +80,7 @@ In the first part we add several entries to the map. Then the example shows retrieval, updating, and removal of information. -The last part shows how to iterate over the pairs of the map and how to recover the string from the key. +The last part shows how to iterate over the pairs inside the map and how to recover the string from the key. In real-world situations, however, it is quite unlikely that you will use a map to store string literals. The next example shows a more realistic program, where it is necessary to store strings based on user input.