home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 1
/
FishNMoreVol1.bin
/
more
/
code_examples
/
librar
/
intinit.c
< prev
next >
Wrap
Text File
|
1989-02-08
|
512b
|
18 lines
/*--------------------------------------*/
/* */
/* INTINIT(X,X,X) */
/* */
/* Initializes an integer array given in*/
/* the first argument with the number */
/* given in the third argument. The */
/* second argument is the size of the */
/* array. */
/* */
/*--------------------------------------*/
void intinit(r,b,c)
int r[],b,c;
{
int j;
for (j=0;j<b;j++)
r[j]=c;
}