[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: Passing arrays in C
dont u think my method provides for much lesser
confusion, and cleaner code?
Nikhil.
--- "SHRIDHAR N. DAITHANKAR"
<shridhar.daithankar@xxxxxxxxxxxxxxxx> wrote:
> Hi
>
> What I think is you pass a void pointer and do a
> valid and robust
> arithmatic, no need to juggle for syntax..
>
> Immature opinion but I think it should work..
>
> Bye
> Shridhar
>
> On Thu, 30 Mar 2000, Nick Hill wrote:
>
> > pass it as an a pointer to an array. like if u
> want to
> > pass a[10][10][10], u can prototype the function
> as
> > ***a, and then pass the call the fn. with a as the
> > arg. I dunno if i'm COMPLETELY right, but atleast
> > thats how i used to pass multi-dim arrays
> muhself...
> >
> >
> > Nikhil.
>
>
>
-----------------------------------------------------------------------
> For more information on the LIP mailing list see:
> http://lists.linux-india.org/lists/LIP
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com