T*r
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 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 现在要运行一个loop,分成好多段,每一段执行后都往文件里写数据,请问如何才能接
: 着以前的往下写.谢谢!!
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 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 现在要运行一个loop,分成好多段,每一段执行后都往文件里写数据,请问如何才能接
: 着以前的往下写.谢谢!!
x*l
3 楼
C里面只要你中间不关闭文件,调用文件指针,就是接着写的。
【在 T*********r 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 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
【在 T*********r 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 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
相关阅读
big data forum is running (转载)有谁能介绍一个有多个local minimization的周期函数大学毕业后去当兵。Job Opening (转载)Gfortran library请大家推荐一下湾区biotech的工作机会(计算或编程方向)菜鸟急问:两个数组相加,复杂度是否可以降到O(1)为啥ode45没办法解这个PDEfftw mpiAmex Blue Cash preferred 6% Cashback+$150bonus超市专用信用卡天河supercomputing z请问有人认识不错的bay area IT recruiter 么?matlab 思考题懂fortran的帮忙看一下求推荐openmp的debuggerGPU Programming @ UC San DiegoAnyone has this book?有关密度泛函的小问题:cs?还是继续会计c++, sort() 为啥显示 结果不对