int StrCmp(char str1[], char str2[], str_check packed, int point) { int i; if(packed == is_true) { for(i = 0; i < point; i++) { if(str1[i] != str2[i]) return 1; } return 0; } if(packed == is_false) { for(i = 0; i < point; i++) { if(str1[i] != str2[i]) return 0; } return 1; } }