www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/11/06:40:00

Date: Mon, 11 Nov 1996 13:28:10 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Ely Wilson <fletch AT netdoor DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: array of pointers to strings, BC++, DJGPP and weird printing , behavior
In-Reply-To: <Pine.GSO.3.94.961111023101.13027B-100000@netdoor.com>
Message-Id: <Pine.SUN.3.91.961111132614.396C-100000@is>
Mime-Version: 1.0

On Mon, 11 Nov 1996, Ely Wilson wrote:

> > > : > 	KeyWords = (char **) malloc ( sizeof(char) );
> > > I've never seen this     ^^ before, what did I miss and when?
> arrays of...what I don't recognize is that double asterisk..*THAT* I've
> never seen...which is what I was referring to..so, what did I miss, if

The declaration "char ** KeyWords;" means that KeyWords is a pointer to a
pointer to char.  Casting to (char **) means converting to a pointer to a
pointer to a char.

- Raw text -


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