Re: 2-dimensional arrays and functions
From: Mike Wahler (mkwahler_at_mkwahler.net)
Date: 10/31/03
- Next message: Mike Wahler: "Re: [C] 2-dimensional arrays and functions"
- Previous message: Chris \( Val \): "Re: ifstream code to read a paragraph"
- In reply to: Jumbo: "Re: 2-dimensional arrays and functions"
- Next in thread: B. v Ingen Schenau: "Re: 2-dimensional arrays and functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 31 Oct 2003 15:19:40 GMT
"Jumbo" <(nospam)@12freeukisp.co.uk> wrote in message
news:1067553083.830627@news.minx.net.uk...
> At least I have posted 3 good examples of how to do it which I don't see
any
> comments about so I assume they are OK. The only other person who tried to
> help the OP was Mike I think but he went into function pointer land
My example did not use any function pointers.
> and I
> was looking for a simpler answer.
The question was:
"I am trying to pass a 2-dimensional array to a function and return a
pointer to a 2-dimensional array."
What I posted is the simplest way I know of returning a
pointer to an array from a function.
>
> Here are my examples again incase you missed it in this pointer
pandemonium:
None of those examples use any pointers to arrays.
-Mike
- Next message: Mike Wahler: "Re: [C] 2-dimensional arrays and functions"
- Previous message: Chris \( Val \): "Re: ifstream code to read a paragraph"
- In reply to: Jumbo: "Re: 2-dimensional arrays and functions"
- Next in thread: B. v Ingen Schenau: "Re: 2-dimensional arrays and functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|