movefr.c

来自「this the source code of addio compressio」· C语言 代码 · 共 39 行

C
39
字号
/**************************************************************************
*
* ROUTINE
*               movefr
*
* FUNCTION
*               copy real array to another array
*
* SYNOPSIS
*               subroutine movefr(n, a, b)
*
*   formal 
*
*                       data    I/O
*       name            type    type    function
*       -------------------------------------------------------------------
*       n               int	i       number of elements to copy
*       a               float	i       source
*       b               float	o       destination
***************************************************************************
*
* CALLED BY
*
*	csub	psearch
*
* CALLS
*
*
**************************************************************************/
movefr(n, a, b)
int n;
register float *a, *b;
{

register  int i;
  for (i = 0; i < n; i++)
    *b++ = *a++;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?