home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!network.ucsd.edu!munnari.oz.au!uniwa!cujo!marsh!chans
- From: chans@marsh.cs.curtin.edu.au (Sean Chan)
- Subject: Passing 2D dynamic array to function
- Message-ID: <chans.715195647@marsh>
- Sender: news@cujo.curtin.edu.au (News Manager)
- Organization: Curtin University of Technology
- Date: Sun, 30 Aug 1992 17:27:27 GMT
- Lines: 12
-
- Yup its me again...(apologies for not posting all my questions
- together).
-
- I have a 2D array declared as int **array. How do I pass that to a
- function?? I've tried :-
-
- int func (int **ar, int ...etc.)
-
- however, I have a feeling that I'm not passing the pointer to the array
- to the function.
-
- Sean
-