size = getline( &line, &len, fp );. [. 注意;. 最后需要判断line 是否为空指针,如果不是需要释放. ] 一、解释[ man getline ]. #include <stdio.h>.
確定! 回上一頁