From owner-freebsd-hackers Wed Nov 22 06:02:22 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA14226 for hackers-outgoing; Wed, 22 Nov 1995 06:02:22 -0800 Received: from bigbird.vmicls.com (bigbird.vmicls.com [198.17.96.3]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id GAA14220 for ; Wed, 22 Nov 1995 06:02:19 -0800 Received: from gonzo by bigbird.vmicls.com (8.6.9/SMI-4.1-vmicls-master-host-1) id JAA23498; Wed, 22 Nov 1995 09:04:45 -0500 From: Jerry.Kendall@vmicls.com (Jerry Kendall) Organization: VMI Communications and Learning Systems Received: by gonzo (5.0/vmi-client-host-1) id AA29341; Wed, 22 Nov 1995 09:04:44 +0500 Date: Wed, 22 Nov 1995 09:04:44 +0500 Message-Id: <9511221404.AA29341.gonzo@vmicls.com> To: hackers@freebsd.org Subject: Re: HELP with typedef X-Sun-Charset: US-ASCII content-length: 574 Sender: owner-hackers@freebsd.org Precedence: bulk > > > > ------------------------------- > > 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