08/10/16 09:40:15
>>372
#include <stdio.h>
#include <string.h>
int main(void){
char buf[256];
char *p;
printf("英文を入力してください:(255文字まで)\n");
fgets(buf, 256, stdin);
p = buf;
p = strtok(buf, " ,.\n");
while (p)
{
printf("%s\n", p);
p = strtok(NULL, " ,.\n");
}
return 0;
}