build random array, search and sort FORTRAN
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: So I've built my program but I'm getting errors saying the same stuff over and over: 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),