由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - 如何往一个文件里续写数据
相关主题
问个矩阵生成Re: anyone know how to compile a libary coded in c which any be used b
再问一个linux下面的一个问题,关于控制时间<>全书下载
Compaq Visual Fortran的一个小问题哪里有Fortran教程可下?
determinantFortran里面哪个函数显示系统时间?
Matlab where function?where to down a standard Fortran90 complier?
look for a software一工程计算站点
[转载] Numerical methods for calculating areaWrite In C
求助:奇怪的Matlab运算错误Include unix libraries in windows fortran
相关话题的讨论汇总
话题: 文件话题: 77话题: 续写话题: 数据话题: 如何
进入Computation版参与讨论
1 (共1页)
q***z
发帖数: 543
1
现在要运行一个loop,分成好多段,每一段执行后都往文件里写数据,请问如何才能接
着以前的往下写.谢谢!!
T*********r
发帖数: 11175
2
what language?
in fortran, u need to define the data file and open it first
then write to it
open(77,status="old",file="urdata.dat")
at the end of calculation use
write(77,*) ur x, ur y
this 77 is just an example, u can use other number
but better choose something greater than 20

【在 q***z 的大作中提到】
: 现在要运行一个loop,分成好多段,每一段执行后都往文件里写数据,请问如何才能接
: 着以前的往下写.谢谢!!

x*********l
发帖数: 594
3
C里面只要你中间不关闭文件,调用文件指针,就是接着写的。

【在 T*********r 的大作中提到】
: what language?
: in fortran, u need to define the data file and open it first
: then write to it
: open(77,status="old",file="urdata.dat")
: at the end of calculation use
: write(77,*) ur x, ur y
: this 77 is just an example, u can use other number
: but better choose something greater than 20

1 (共1页)
进入Computation版参与讨论
相关主题
Include unix libraries in windows fortranMatlab where function?
help fortran read formatlook for a software
Re: help fortran read format, why not try excel?[转载] Numerical methods for calculating area
Fortran和C++的数据转换问题求助:奇怪的Matlab运算错误
问个矩阵生成Re: anyone know how to compile a libary coded in c which any be used b
再问一个linux下面的一个问题,关于控制时间<>全书下载
Compaq Visual Fortran的一个小问题哪里有Fortran教程可下?
determinantFortran里面哪个函数显示系统时间?
相关话题的讨论汇总
话题: 文件话题: 77话题: 续写话题: 数据话题: 如何