[問題] 讀取未知大小的部分陣列
有一個文字檔(txt)的資料
type ID time length temp height
AA 0346 10:00 -3.2 15.2 161.2
AA 3647 11:00 2.4 20.2 170.7
AA 4629 11:00 3.11 11.3 155.5
AA 1020 12:00 9.3 43.2 183.3
. . . . . .
. . . . . .
. . . . . .
若在不知道最後一列是第幾列的情況下
要如何只讀type ID time height 的資料
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.115.36.127
→
03/14 10:36, , 1F
03/14 10:36, 1F
推
03/14 13:12, , 2F
03/14 13:12, 2F
→
03/14 14:04, , 3F
03/14 14:04, 3F
推
03/14 14:17, , 4F
03/14 14:17, 4F
→
03/14 14:17, , 5F
03/14 14:17, 5F
→
03/14 17:06, , 6F
03/14 17:06, 6F
→
03/14 17:54, , 7F
03/14 17:54, 7F
→
03/17 14:02, , 8F
03/17 14:02, 8F
推
03/21 00:11, , 9F
03/21 00:11, 9F
→
03/21 00:14, , 10F
03/21 00:14, 10F
→
03/21 00:22, , 11F
03/21 00:22, 11F
→
03/21 01:08, , 12F
03/21 01:08, 12F
Fortran 近期熱門文章
PTT數位生活區 即時熱門文章