c99中的gets()函数是否可以替代?

时间:2020-08-11 15:44:09

标签: c gets

Why is implicit declaration of gets() not allowed in C99? 我已经提到了这个问题,这就是我如何知道它已经过时了。

1 个答案:

答案 0 :(得分:4)

是的,您应该改用fgets()