?? ex0833.f90
字號(hào):
program ex0833
implicit none
interface ! 說(shuō)明函數(shù)func的使用接口
elemental real function func(num)
implicit none
real, intent(in) :: num
end function
end interface
integer i
real :: a(10) = (/ (i,i=1,10) /)
real :: b(10)
write(*,"(10F6.2)") a
a = func(a)
write(*,"(10F6.2)") a
end program
elemental real function func(num)
implicit none
real, intent(in) :: num
func = sin(num) + cos(num)
return
end function
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -