From: utzoo!decvax!pur-ee!uiucdcs!grunwald
Newsgroups: net.unix-wizards
Title: Re: Why C is not much better than Pascal - (nf)
Article-I.D.: uiucdcs.731
Posted: Mon Sep 20 11:37:24 1982
Received: Tue Sep 21 10:01:18 1982

#R:sri-unix:-331800:uiucdcs:13700009:000:302
uiucdcs!grunwald    Sep 17 12:19:00 1982

  From what little C I know, I would do that example:

double norm(n, matrix)
int	n;
double	**matrix;
{
	/* code */
}

Within the procedure one can refer to the elements as "matrix[i][j]".
To use this, say:

main()
{
double	mat[100][100]

	y = norm(100,mat);	/* pass # elements, pointer to matrix */
}