質問編集履歴

1

関数名変更

2021/12/07 09:00

投稿

MacB
MacB

スコア8

test CHANGED
File without changes
test CHANGED
@@ -52,13 +52,13 @@
52
52
 
53
53
  エラーコード
54
54
 
55
- ft_putstr.c:18:3: error: implicit declaration of function 'write' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
55
+ world.c:18:3: error: implicit declaration of function 'write' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
56
56
 
57
57
  write(1,&str[i],1);
58
58
 
59
59
  ^
60
60
 
61
- ft_putstr.c:18:3: note: did you mean 'fwrite'?
61
+ world.c:18:3: note: did you mean 'fwrite'?
62
62
 
63
63
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:165:9: note: 'fwrite' declared here
64
64