... function is dangerous and should not be used.” 問題出在程序中使用了 gets Linux 下gcc編譯器不支持這個函數,解決辦法是使用 fgets fgets()函數的基本用法為:
確定! 回上一頁