From: "Damian Yerrick" Newsgroups: comp.os.msdos.djgpp References: <38428DE3 DOT 17179D7D AT dtn DOT ntl DOT com> Subject: Re: pointers? Lines: 23 Organization: Pin Eight Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Message-ID: X-Trace: /Kp2loprx1wU6x/D/jGFA0ROil9O3QF7yt77I3M+9kvs60RjzfTDAUzjeED1zz4Vm5nmb7+vZW53!6KnTPL2ElkQifMLIt2992ajA+gLj9fJzG2mAbAQXHnDgF836Ifr5xwy8id4Kf2xLDmqc9xEN X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Wed, 01 Dec 1999 04:52:01 GMT Distribution: world Date: Wed, 01 Dec 1999 04:52:01 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com wrote in message news:38428DE3 DOT 17179D7D AT dtn DOT ntl DOT com... > Hello Everyone > I would be pleased if someone could help me in my dilemma > I have just started to learn C(c for dummies) using djgpp > at the moment I am just finding my feet > > but I have a question its something that I cannot figure out > > how do I get an array of pointers to an array of char? char *stringData[tooMany]; If you need it dynamically sized, try char **stringData; and when you malloc() or realloc(), use as the size nStrings * sizeof(stringData[0]); Damian Yerrick