Implementation (5) intSet_t *intSet_remove(int num, intSet_t *set){ set->s[num] = 0; return set; } int intSet_equal(intSet_t *t, intSet_t *set){ int i; for(i=0;i<MAXLENGTH;i++){ if (set->s[i] != t->s[i]) return 0; } return 1; } int intSet_subSet(intSet_t *t, intSet_t *set){ int i; for(i=0;i<MAXLENGTH;i++){ if (t->s[i] && !set->s[i]) return 0; } return 1; }
{}