/* * dcscan1.c * * Count dicentrics that are and are not derived objects. */ #include #include #include #include main() { struct chromosome *obj, *readobj(); while ((obj =readobj(stdin)) != NULL) { if (obj->plist->Cotype <= CHROMOSOME) { if (obj->plist->Cbtype & DICENTRIC) { printf("D\n"); } } freeobj(obj); } }