/* 1stWd-09.c */ /* Recyclable Object - this is Dr. Aota's 'firstwd()'. */ /* Revision trial to be a fixed output */ #include <ctype.h> /* Magic No is = 9 */ extern char *firstWD (char *to, char *from) { int i; i=0; while ( isspace(*from) || isalnum(*from) || '.' || '-' || '\:' ){ *to++ = *from++ ; i++; if(i==9){break;} } return (from); }