Doing an appointment manager in C++ under Ubuntu using command line interface.

Will store all appts inside a standard db.txt file with one entry per line.


User will enter ./add 5 March 2009 Test One

Just wonder if C++ has native function that can let me do the sorting of month in english, instead of converting it into March=03.

Also what approach should I take to sort the entries into date order whenever I addd a new appointment.


i.e. the text file should contain appts stored in date order, one appt per line.

5 March 2009 Test One
5 May 2009 Test Two
15 June 2010 Project One.