Posted on 2003-03-01
I am write a program about the difference of two given times.
First, I need to retrieve the time(year, month , day, hour ,min, sec) from the file. And then I need to find the time different in the file.
However, those data in the file is string. So I need to convert them to int in order to assign in the time structure. This is tedious!
Do you guys have any good idea so I can get rid of this tediou method?