質問編集履歴
1
関数名変更
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
エラーコード
|
|
28
|
-
|
|
28
|
+
world.c:18:3: error: implicit declaration of function 'write' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
|
|
29
29
|
write(1,&str[i],1);
|
|
30
30
|
^
|
|
31
|
-
|
|
31
|
+
world.c:18:3: note: did you mean 'fwrite'?
|
|
32
32
|
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:165:9: note: 'fwrite' declared here
|
|
33
33
|
size_t fwrite(const void * __restrict __ptr, size_t __size, size_t __nitems, FILE * __restrict __stream) __DARWIN_ALIAS(fwrite);
|
|
34
34
|
^
|