I have two variables:
char charTime[] = \"TIME\"; char buf[] = \"SOMETHINGELSE\";
I want to check if these two are equal... using ch
ch
In c you could use the strcmp function from string.h, it returns 0 if they are equal
#include if( !strcmp( charTime, buf ))