Date: Wed, 22 Nov 1995 09:04:44 +0500 From: Jerry.Kendall@vmicls.com (Jerry Kendall) To: hackers@freebsd.org Subject: Re: HELP with typedef Message-ID: <9511221404.AA29341.gonzo@vmicls.com>
next in thread | raw e-mail | index | archive | help
> > > > ------------------------------- > > typedef char *[] StringList; > > > > > > StringList List = {"one","two","three","four","END OF LIST",""}; > > > > PrintList( StringList *List) > > { > > int x; > > > > for(x = 0; List[x] != 0; x++) > > printf("List entry %d: %s\n", List[x]); > > } > > > > main() > > { > > PrintList(&List); > > } > > Trying to get something working can be a pain, BUT with all the help that is available over the Internet, as with this example, it can be a simple matter of asking for help. THANKS for all the replies. Jerry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9511221404.AA29341.gonzo>