![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Fortan
耗子来啦
广州
华南理工研二
机器学习
深度学习
展开
-
Fortan写出数据到CSV文件中
1.输入代码 program HelloWorld open(unit=60, file='F:\Lambda3.csv') write(60,*) 4.2,5.2/sqrt(2*12550/4.1595e-11) end program HelloWorld2.结果如下原创 2016-09-06 10:55:29 · 1182 阅读 · 0 评论 -
Fortan中读取数据到text文件
program HelloWorld write (*,*) 'Hello, world!' ! This is an inline comment open(unit=6, file='E:\tt.txt') !打开txt文件 write(6,*) 777 !写数据777 end program HelloWorld参考:htt原创 2016-07-30 11:05:28 · 695 阅读 · 0 评论