It is now working fine with the dummy data that you used and then I put the actual values from the file and now it is working with that data as well AND I DONT KNOW WHAT TO DO. LAUGH :D OR CRY ;'( . I am now certain that you have got some magic or super natural powers, please share some.
Helloooo again :P extraterrestrial being from outer space :D because I am not sure if you are a human being :D .
I have added (push_back) the unique duplicate vector elements to the already unique duplicate vector instead of adding them (push_back) to the original vector (read from the file). Will it be OK?
and what difference will it make if the three digits of seconds after the . are also added to the time while calculating the difference? because the result here is not always what I want. Time difference between some of the records are calculated correctly but are calculated incorrectly for the records in the same file.
I have just noticed that the 3 digits after seconds are effecting the out put. If I add 3 digits to both start and end time then it calculates correctly other wise if 3 digits from any of the times are missing then the output is incorrect :P