Hi, just wondering how I can assign the member of the "struct tm" to an integer? I tried doing the following, but get the error message "dereferencing pointer to incomplete type". when I do line 5 to line 8. Thanks in advance.
struct tm *tm_now;
hour=tm_now->tm_hour; /* starting here */