Im trying to use the time.h struct tm *pointer so I can access the values of my computer's local time and date. I have a rather large program that I'm writing, and I would prefer to not have to redeclare this thing in every function I wish to use it in. What is it that I am doing wrong?
When I run debug, in visual studio 2010, it locks up and gives me an error. When I tried debugging the error using cout statements, they showed me that it worked up until around this area: