Hi all,
My Map container is like this: map<string,int>
If a certain key value (string) is found,
I'd like to increment the integer. as in map<string,int>
How do you go about modifying the mapped value?
I looked into operator[] but it seems you can only change the key value.
Any help is greatly appreciated,
dudeomanodude



LinkBack URL
About LinkBacks




I used to be an adventurer like you... then I took an arrow to the knee.