Ok, i should know this but i can't remember the function
How do i compare 2 strings to test whether they are equal?Code:char name[20] = "Bob";
if (name == "Bob"){ // Invalid, need real funtion
printf("true");
}
Printable View
Ok, i should know this but i can't remember the function
How do i compare 2 strings to test whether they are equal?Code:char name[20] = "Bob";
if (name == "Bob"){ // Invalid, need real funtion
printf("true");
}