rt,最好能写一个代码说明一下,能指出出处就更好了。

解决方案 »

  1.   

    assumed-size array (n.) a dummy array whose size is assumed from the associated actual argument. Its last upper bound is specified by an asterisk.http://parallel.ru/info/reference/fortgloss.html
    ======================================================================
    似乎这个概念只有在fortran编程语言中才有。我的理解是数组长度不固定,而是由关联参数决定的。在大多数语言中(可能是所有),数组的长度是动态分配的,所以在新建数组时,长度可以是一个变量。
    void test(int l){
      int[] iarray = new int[l];
      //do something else
    }
    仅供参考,不能保证完全正确。如有错误之处,敬请纠正,谢谢!
    ======================================================================
      

  2.   


    assumed-size array (n.) a dummy array whose size is assumed from the associated actual argument. Its last upper bound is specified by an asterisk. http://parallel.ru/info/reference/fortgloss.html 
    ====================================================================== 
    似乎这个概念只有在fortran编程语言中才有。我的理解是数组长度不固定,而是由关联参数决定的。在大多数语言中(可能是所有),数组的长度是动态分配的,所以在新建数组时,长度可以是一个变量。 
    void test(int l){ 
      int[] iarray = new int[l]; 
      //do something else 
    } 不知道你说的准不准
      

  3.   

    我也只在fortran中看到过,但是这个单词我是从一篇J2me的文章中看到的,网址为:http://lwuit.blogspot.com/2008/06/memory-leaks-in-lwuit-and-tracking.html(要穿墙),作者讲的是如何跟踪J2ME的内存泄漏问题。原句为:Increase the amount of memory used by some elements to accentuate the problem - add dummy arrays as members of classes so the problems will be more visible.不知道上面这句话怎么翻译