回答編集履歴
1
修正
test
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
void samplefunc(void);
|
18
18
|
|
19
|
-
static void samplefunc_all(sample
|
19
|
+
static void samplefunc_all(sample* ary, int max);
|
20
20
|
|
21
21
|
} *smpl;
|
22
22
|
|
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
```c++
|
28
28
|
|
29
|
-
void sample::samplefunc_all(sample
|
29
|
+
void sample::samplefunc_all(sample* ary, int max){
|
30
30
|
|
31
31
|
for(int i = 0; i < max; i++) {
|
32
32
|
|