我需要读取包含未定义数量的单元格的文件,并为每个单元格输入未知数量的数据对。我正在使用Fortran。如何读取FORTRAN中未知结构的数据文件?
文件看起来像这样:
Cell Number 1
Depth1 Volume1
Depth2 Volume2
Depth3 Volume3
.
.
.
Cell Number N
Depth1 Volume1
Depth2 Volume2
Depth3 Volume3
Depth4 Volume4
Depth5 Volume5
有人可以帮助我吗?
您使用该FORTRAN版本
哇。 Fortran语言?真的吗? ;) – 2012-01-06 01:38:41
@Matthew:“标签为[tag:fortran]的879个问题” - 关于Fortran死亡的传闻被大大夸大了。 – sarnold 2012-01-06 01:40:59
@ sarnold - 哈哈,我知道,我知道。你再也听不到太多了 - 让我惊讶的是看到它弹起来了,就这些。向用户提问:我没有任何意思。希望你得到你需要的帮助!干杯! – 2012-01-06 01:45:09