My problem statement is as follows :-
I have set of processes all having unique name say PROG,PROG1,PROG2 etc.
Now with each of these processes different integer values are being associated say min_time, max_time,median_time.
What i want is to create a map of all these processes and associate the respective property with each of them. So for that what i did is
typedef std::map < std::string,int,Properties > ProcessMap;
Now how to write a code to insert the name of the process if it is not present in the list and then add all the values to it.(Provided that all values are being taken as an input from user already). Also i need to increment or decrement the existing values of MinTime, MaxTime and MedianTime for a particular process so how to do that also..