Any thoughts welcome.

I have to rewrite an old C prog using C++. Thoughts by colleagues are that C++ is not as productive as C so this is a type of evaluation exercise.

The prog is batch (console), reads response time test results from a text file and then outputs response time statistics (percentiles, timeline, SD, averages, etc).

So I have:

a) A test
b) Many transaction scripts (complete business processes)
c) Many events within scripts (timing points)
d)Many response times for each event (between a few hundred and tens of thousands).

The input is structured and thus cannot be presorted.

So I have created a class for the individual events (a,b and c above): testname, scriptname, event name, eventid, description fields. The eventid is a combined char key (testname_scriptname_event name) and is thus unique. This class represents a,b and c above.

Each eventid of course has many timings.

Example eventid 'aaa066_001_A0' where testname='aaa066', scriptname = '001', and event name = 'A0'.

And a MMAP : char eventid, double responsetime. Example: 'aaa006_001_A0', 2.53
And a MMAP : double timeofresponse, double responsetime. Example: 122052054424.398499, 2.53

I need to sort the MMAP and then read it start to finish to formulate the statistics. I do not need to insert, delete or update the MMAPs beyond append to end as they are created.

Question : Is the MMAP the best STL class to use?

Thanks for looking