Re: Returning an array of strings in C
- From: "Klarth" <kah.goh@xxxxxxxxx>
- Date: 19 Feb 2007 19:22:39 -0800
Your return type is char**, then in your function use:
function name (args ...)
{
...
return array_string;
}
On Feb 20, 9:52 am, klear...@xxxxxxxxx wrote:
Hi,
I am writing a function that needs to return an array of strings and I
am having some trouble getting it right. I need some help.
Here is what I consider an array of 100 strings:
char *array_string[100]
Thanks,
-Kim
.
- References:
- Returning an array of strings in C
- From: kleary00
- Returning an array of strings in C
- Prev by Date: Re: pointer representation: style or substance?
- Next by Date: c and assembler program, help me please!
- Previous by thread: Returning an array of strings in C
- Next by thread: Re: Returning an array of strings in C
- Index(es):
Relevant Pages
|