小编use*_*029的帖子

构建随机数组,搜索和排序FORTRAN

所以我已经构建了我的程序但是我一遍又一遍地说同样的错误:

benchmark.f90(17): error #6451: A dummy argument name is required in this context.   [N]
INTEGER, intent (in) :: N
------------------------^
benchmark.f90(18): error #6420: This array name is invalid in this context.   [A]
REAL, intent (out), DIMENSION (N), allocatable :: a
--------------------------------------------------^
benchmark.f90(18): error #6646: ALLOCATABLE or POINTER attribute dictates a deferred-shape-array   [A]
REAL, intent (out), DIMENSION (N), allocatable :: a
--------------------------------------------------^
benchmark.f90(17): error #6219: This variable, used in a specification expression, must be a dummy argument, a COMMON block object, …
Run Code Online (Sandbox Code Playgroud)

arrays sorting random binary fortran

0
推荐指数
1
解决办法
1723
查看次数

标签 统计

arrays ×1

binary ×1

fortran ×1

random ×1

sorting ×1