Hi, I have a csv datafile with stock price data that I've read into a vector of structures that looks like this: 09/11/2009 9.30 open, high, low, close, volume 09/11/2009 9.31 o, h, l, c, volume and so on to 09/11/2009 16.14 o, h, l, c, volume //next day starts here: 09/12/2009 9.30, o, h, l, c, volume 09/12/2009 9.31, o, h, l, c, volume As you can see, each date has ~390 minutes of price data associated with it. I would like to be able to compare these dates, but the date field is of type string. How do …

Member Avatar
Member Avatar
+0 forum 4

Hey everyone, I've got a question about something called struct tm. I'm not really even sure if it is a string, array, or what, otherwise I would've said that instead of 'something'. I need to know how to use it. I've been searching the internet for the past hour, and haven't found a single website saying something like 'To find the current date and time using struct tm...' And that's what I need to know. So if I have a simple C file, what do I need to include and use in order to find the current date and time? …

Member Avatar
Member Avatar
+0 forum 3

The End.