Originally posted by RealityFusion
I don't know what you mean by this statement:

"In your ocde timecheck is a char, strcmp used char* as arguments."

Code:
if (!strcmp("daily",timecheck))
Please explain.
This is the syntax of strcmp:
int strcmp( const char *str1, const char *str2 );

you used something like
int strcmp( const char *str1, const char str2 );
notice the last arg isnt a pointer but a single char.