This is the syntax of strcmp:Quote:
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."
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.