回答編集履歴
1
コード追記
test
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
```
|
1
|
+
```diff
|
2
2
|
|
3
|
-
while(fscanf(fp, "%d", &a[count]) != EOF){
|
3
|
+
-while(fscanf(fp, "%d", &a[count]) != EOF){
|
4
4
|
|
5
|
+
+while(fscanf(fp, "%d,", &a[count]) != EOF) {
|
6
|
+
|
5
|
-
count++;
|
7
|
+
count++;
|
6
8
|
|
7
9
|
}
|
8
10
|
|