如何在Fortran中读写标准输入、输出和错误流
如何使用
编译器版本:
stdin
、stdout
和stderr
?例如,我听说向stderr
写入可以使用write(5, fmt=...)
,其中5
是stderr
的单元,我知道向stdout
写入的方法是使用write(*, fmt=...)
。如何使用
ifort
编译器读写标准输入输出单元?编译器版本:
Intel(R)Fortran Compiler用于在Intel(R)64上运行的应用程序,版本10.0 Build 20070426 Package ID:l_fc_p_10.0.023版权所有(C)1985-2007 Intel Corporation。保留所有权利。