📜  我们可以通过遍历来更新地图的值吗 - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:39.650000             🧑  作者: Mango

代码示例1
Well, you can't do it by iterating over the set of values in the Map 
(as you are doing now), because if you do that then you have no reference to t
he keys, and if you have no reference to the keys, then you can't update the 
entries in the map, because you have no way of finding out which key was 
associated with