I have two variables:
char charTime[] = "TIME";
char buf[] = "SOMETHINGELSE";
I want to check if these two are equal... using charTime == buf
doesn't work.
What should I use, and can someone explain why using ==
doesn't work?
Would this action be different in C and C++?