Retrieve the date of all inputted characters.
Example: a
26-11-2004:11:50:10 // WIll not appear, it only appears at the end
of the program
b
26-11-2004:11:50:20 // " "
g
26-11-2004:11:51:02 // " "
My program just retrieve the last date: 26-11-2004:11:51:02
I want that it retrieves the 3 datas.
Output: 26-11-2004:11:50:10
26-11-2004:11:50:20
26-11-2004:11:51:02