delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/28/06:06:42

Date: Mon, 28 May 2001 12:15:02 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Scott Sinclair <scott DOT sinclair AT umgeni DOT co DOT za>
Message-Id: <4331-Mon28May2001121502+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <F6E7432DD437D511AD92009027C3AAC466B978@headoffice.umgeni.co.za>
(message from Scott Sinclair on Mon, 28 May 2001 09:41:30 +0200)
Subject: Re: Array of poiters to an Array
References: <F6E7432DD437D511AD92009027C3AAC466B978 AT headoffice DOT umgeni DOT co DOT za>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Scott Sinclair <scott DOT sinclair AT umgeni DOT co DOT za>
> Date: Mon, 28 May 2001 09:41:30 +0200
> 
> One way is to try declaring an array of pointers
> 
> char **array_of_pointers[];

This isn't an array of pointers, it's an array of pointers to
pointers.

An array of pointers to strings would be this:

 char *array_of_pointers[];

Because of this mistake, the rest of your code won't DTRT.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019