代码搜索:implicit

找到约 5,250 项符合「implicit」的源代码

代码结果 5,250
www.eeworm.com/read/221868/14716993

f90 ex0825.f90

program ex0825 implicit none interface ! 定义函数func的接口 function random10(lbound, ubound) implicit none real :: lbound, ubound real :: random10(10) ! 传回值是个数组 end function end interfac
www.eeworm.com/read/221868/14716995

f90 ex0813.f90

program ex0813 implicit none real a common a ! 把浮点数a放在全局变量中 a = 1.0 call ShowCommon() stop end subroutine ShowCommon() implicit none integer a common a ! 把整数a放在全局变量中 writ
www.eeworm.com/read/221868/14716996

f90 ex0808.f90

program ex0808 implicit none real :: a = 1 real :: b real add add(a,b) = a+b ! 直接把函数写在里面 write(*,*) add(a,3.0) stop end
www.eeworm.com/read/221868/14716998

f90 ex0829.f90

program ex0829 implicit none integer :: n integer, external :: fact write(*,*) 'N=' read(*,*) n write(*, "(I2,'! = ',I8)" ) n, fact(n) stop end recursive integer function fac
www.eeworm.com/read/221868/14717007

f90 ex0832.f90

program ex0832 implicit none integer, external :: func write(*,*) func(2,3) end program pure integer function func(a,b) implicit none integer, intent(in) :: a,b func = a+b re
www.eeworm.com/read/221868/14717011

f90 ex0823.f90

program ex0823 implicit none integer :: a=4 integer b call div(a,b) write(*,*) a,b stop end program subroutine div(a,b) implicit none integer, intent(in) :: a ! 指定a是只读
www.eeworm.com/read/221868/14717020

f90 ex0436.f90

program ex0436 implicit none real(kind=4) :: a real(kind=8) :: b a=1.0_4 ! 确定1.0这个数字是使用单精度 b=1.0_8 ! 确定1.0这个数字是使用双精度 write(*,*) a,b stop end
www.eeworm.com/read/221868/14717030

f90 ex0429.f90

program ex0429 implicit none real pi parameter(pi=3.14159) write(*,"(F4.2)") sin(pi/6) end
www.eeworm.com/read/221868/14717036

f90 ex0432.f90

program ex0432 implicit none integer :: a=1 integer :: b=2 real :: c c=real(a)/real(b) ! 经由库函数real把整数转换成浮点数 write(*,"(F5.2)") c end
www.eeworm.com/read/221868/14717067

for ex0430.for

PROGRAM ex0430 IMPLICIT NONE INTEGER A REAL B COMPLEX C CHARACTER*(20) STR DATA A,B,C,STR /1, 2.0, (1.0,2.0), 'FORTRAN 77'/ WRITE(*,*) A,B,C,STR STOP END