// ファイルの行数を数えて、変数に代入 int n = countln( fileID );