Fortran中开根号函数的调用
我的程序:programexamimplicitnonerealvrealsqrtopen(2,file='F:\6.txt',status='replace')v=sq...
我的程序:
program examimplicit nonereal vreal sqrtopen(2,file='F:\6.txt',status='replace') v=sqrt(4)write(2,*) vend
结果出错提示:
Error: This name does not have a type, and must have an explicit type. [SQRT]
Warning: Arguments' data types are incompatible with intrinsic procedure, assume EXTERNAL. [SQRT]
请问怎么调用啊?
Fortran中开根号函数的调用 展开
program examimplicit nonereal vreal sqrtopen(2,file='F:\6.txt',status='replace') v=sqrt(4)write(2,*) vend
结果出错提示:
Error: This name does not have a type, and must have an explicit type. [SQRT]
Warning: Arguments' data types are incompatible with intrinsic procedure, assume EXTERNAL. [SQRT]
请问怎么调用啊?
Fortran中开根号函数的调用 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询