My program has a vector of 50 objects like this :
What I need to do is convert all the dates from their current format (eg 20030901) to the standard UK date format eg 01/09/2003). I also need all the times to include a colon (eg 12:00).Code:trans.push_back(Transaction(1365,"Norwich","20030901","1200",12,005,"Nobody present"));
How can I go about this?
Thanks.



LinkBack URL
About LinkBacks



)