调查
各位老兄是否还gets()这个函数啊?
很多书上都说这个函数早已过时,而且隐患太多。
[解决办法]
不用..
[解决办法]
不用
[解决办法]
Security Note
Because there is no way to limit the number of characters read by gets, untrusted input can easily cause buffer overruns. Use fgets instead.
[解决办法]
都用fgets()是个什么意思呢??这个还是要看个人吧
在文件操作里取一行我一般都是用的