September 12th, 2003, 03:04 AM
Join Date: Oct 2002
Location: in the perfect world
try something like
tm *pTime=NULL;//pointer to a tm struct
time_t SysTime;//an actual instance of the struc
//get the time
time(&SysTime);// the & sends in a pointer to our struct
//convert to local
//to look at an element of our struct pointer use the -> not .
The essence of Christianity is told us in the Garden of Eden history. The fruit that was forbidden was on the Tree of Knowledge. The subtext is, All the suffering you have is because you wanted to find out what was going on. You could be in the Garden of Eden if you had just kept your f***ing mouth shut and hadn't asked any questions.
Last edited by TechNoFear : September 12th, 2003 at 03:07 AM.