bool equalStrings ( const char s1[], const char s2[] ) // // This function returns TRUE if strings S1 and S2 are equal. // { int i; bool value; i = 0; while ( true ) { if ( s1[i] != s2[i] ) { value = false; return value; } // // Characters are equal. If they are "NULL", we are done. // if ( s1[i] == '\0' ) { value = true; return value; } // // Get ready for next character. // i = i + 1; } }