www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/14/08:19:46

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Mike Pilat" <pilat AT uiuc DOT edu>
Newsgroups: comp.lang.c++,comp.os.msdos.djgpp
References: <vTkS7.469287$Jy2 DOT 33400140 AT news DOT quicknet DOT nl> <Xns9177526CC2A82ASINANUNUR AT 132 DOT 236 DOT 56 DOT 8>
Subject: Re: ** Pointer thingie's <= what's up with the double *?
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
X-Proxy-Client: pilat AT uiuc DOT edu from wakeland-196.flexabit.net
Message-ID: <wTmS7.3829$tg4.48021@vixen.cso.uiuc.edu>
Date: Fri, 14 Dec 2001 07:14:01 -0600
NNTP-Posting-Host: 128.174.5.27
X-Complaints-To: abuse AT uiuc DOT edu
X-Trace: vixen.cso.uiuc.edu 1008335452 128.174.5.27 (Fri, 14 Dec 2001 07:10:52 CST)
NNTP-Posting-Date: Fri, 14 Dec 2001 07:10:52 CST
Organization: University of Illinois at Urbana-Champaign
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"A. Sinan Unur" <asu1 AT cornell DOT edu> wrote in message
news:Xns9177526CC2A82ASINANUNUR AT 132 DOT 236 DOT 56 DOT 8...
> "Emile Bosch" <emilebosch AT hotmail DOT com> wrote in
> news:vTkS7.469287$Jy2 DOT 33400140 AT news DOT quicknet DOT nl:
> > void** ptr; //? Double **?
>
> i don't think that is valid.
>
> int **ppi;
>
> means ppi is a pointer to a pointer to an int. AFAIK, you can't have
> pointers to void pointers.

You can indeed have void**... for example, the COM IUnknown method
QueryInterface(..) takes a void** as a parameter into which your interface
pointer goes.

[mp]


- Raw text -


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