Hi Folks! I am trying to overwrite the values in an stl:map if certain cretria matches. Can anyone show how to do that??
I have a map<string,time_t>
if the key matches with a given constant then I replace the value of that key with new value.
Suppose the map contains
if I iterate through the map and see that aol is there then check its value if its >1000 then I change aol's value to 2000.
If there is no aol then I insert aol with a value of 1000.
Please reply ASAP