Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
2 つの単語の間の空白を含めて、標準入力から行全体を読みたいです。
gets on gcc を使用すると、次のメッセージが表示されます。
send.c:(.text+0x2a): warning: the `gets' function is dangerous and should not be used.
より良い代替手段は何ですか?