home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / c / 12962 < prev    next >
Encoding:
Text File  |  1992-08-30  |  696 b   |  23 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!network.ucsd.edu!munnari.oz.au!uniwa!cujo!marsh!chans
  3. From: chans@marsh.cs.curtin.edu.au (Sean Chan)
  4. Subject: Passing 2D dynamic array to function
  5. Message-ID: <chans.715195647@marsh>
  6. Sender: news@cujo.curtin.edu.au (News Manager)
  7. Organization: Curtin University of Technology
  8. Date: Sun, 30 Aug 1992 17:27:27 GMT
  9. Lines: 12
  10.  
  11. Yup its me again...(apologies for not posting all my questions
  12. together).
  13.  
  14. I have a 2D array declared as int **array. How do I pass that to a
  15. function?? I've tried :-
  16.  
  17.    int func (int **ar, int ...etc.)
  18.  
  19. however, I have a feeling that I'm not passing the pointer to the array
  20. to the function.
  21.  
  22. Sean
  23.