Path: utzoo!attcan!uunet!snorkelwacker!mintaka!yale!cmcl2!lanl!jlg From: jlg@lanl.gov (Jim Giles) Newsgroups: comp.society.futures Subject: Re: C's sins of commission (was: (pssst...fortran?)) Message-ID: <63966@lanl.gov> Date: 24 Sep 90 19:48:35 GMT References: <9009220030.AA03386@rice-chex> Organization: Los Alamos Natl Lab, Los Alamos, N.M. Lines: 26 From article <9009220030.AA03386@rice-chex>, by bson@AI.MIT.EDU (Jan Brittenson): > [...] | bar(some_array) | int some_array[3][4]; | { | some_array[0][1] += some_array[1][0]; | } | | snorf() | { | int foo[3][4]; | | bar(foo); | } > > > "Look Mom, no pointers!!!" A procedure which claime to be able to do array manipulation and yet only works on a _fixed_ array size is useless. When I pass the _other_ array (the one you left out: int bilvet [4][3]), the procedure "bar" with mangle it. Try again. J. Giles