www.delorie.com/archives/browse.cgi | search |
From: | steven DOT watson AT dtn DOT ntl DOT com |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: pointers? |
Date: | Wed, 01 Dec 1999 13:07:37 +0000 |
Organization: | NTL Internet News Service |
Lines: | 22 |
Message-ID: | <38451D99.2A3F59E0@dtn.ntl.com> |
References: | <38428DE3 DOT 17179D7D AT dtn DOT ntl DOT com> <RP114.1305$aQ DOT 42416 AT dfiatx1-snr1 DOT gtei DOT net> |
NNTP-Posting-Host: | p58-harc2-kirklees2.tch.dtn.ntl.com |
Mime-Version: | 1.0 |
X-Trace: | nclient3-gui.server.dtn.ntl.com 944080468 24781 194.168.246.28 (1 Dec 1999 20:34:28 GMT) |
X-Complaints-To: | abuse AT net DOT ntl DOT com |
NNTP-Posting-Date: | 1 Dec 1999 20:34:28 GMT |
X-Mailer: | Mozilla 4.5 [en]C-CCK-MCD (Win95; I) |
X-Accept-Language: | en |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Damian Yerrick wrote: > Thank you for the information I would never have figured this out without help Thanks Steven watson > > > > 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |