回答編集履歴
1
条件の不備
answer
CHANGED
@@ -25,7 +25,7 @@
|
|
25
25
|
#include <string.h>
|
26
26
|
|
27
27
|
|
28
|
-
const char del_list[] = {' ', '\t', '\n'};
|
28
|
+
const char del_list[] = {' ', '\t', '\n', '.', ','};
|
29
29
|
const char *pos_list[] = {"my", "your", "his", "her", "their"};
|
30
30
|
|
31
31
|
char *get_next_word(FILE *fp, char buf[], int max, int *pos);
|