ず

2000年04月

Top <<先月 ブログ 次月>> ブログ将棋ブログWiLiKi

2000/04/28

C

なんじゃ、このソース

$ !cc
cc -Wall -ansi a.c
a.c:2: warning: return-type defaults to `int'
a.c: In function `mail':
a.c:4: warning: implicit declaration of function `preintf'
a.c:6: warning: implicit declaration of function `printf'
a.c:8: warning: control reaches end of non-void function

preintfはprintfの間違いだとしたら、smallは未定義だし、 よもやここがscanfの間違いだったら論外だし。 これは英小文字を英大文字にしたいんだろうけど、範囲のチェックされてないし、 ふつーtoupperだろう。

2000/04/18

linux



Top <<前 / 今月 /次>>