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

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.lang.c++,comp.os.msdos.djgpp
Subject: Re: ** Pointer thingie's <= what's up with the double *?
Date: 14 Dec 2001 15:07:20 GMT
Organization: Cornell University
Lines: 23
Sender: asu1 AT cornell DOT invalid (on 128.253.251.163)
Message-ID: <Xns917766F857AB6ASINANUNUR@132.236.56.8>
References: <vTkS7.469287$Jy2 DOT 33400140 AT news DOT quicknet DOT nl> <Xns9177526CC2A82ASINANUNUR AT 132 DOT 236 DOT 56 DOT 8> <wTmS7.3829$tg4 DOT 48021 AT vixen DOT cso DOT uiuc DOT edu>
NNTP-Posting-Host: 128.253.251.163
X-Trace: news01.cit.cornell.edu 1008342440 18698 128.253.251.163 (14 Dec 2001 15:07:20 GMT)
X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu
NNTP-Posting-Date: 14 Dec 2001 15:07:20 GMT
User-Agent: Xnews/4.06.22
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Mike Pilat" <pilat AT uiuc DOT edu> wrote in
news:wTmS7.3829$tg4 DOT 48021 AT vixen DOT cso DOT uiuc DOT edu: 

> "A. Sinan Unur" <asu1 AT cornell DOT edu> wrote 
>> "Emile Bosch" <emilebosch AT hotmail DOT com> wrote  
>> > void** ptr; //? Double **?
>>
>> i don't think that is valid.
>> 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.

See http://www.eskimo.com/~scs/C-faq/q4.9.html

HTH.

Sinan.
-- 
--------------------------------
A. Sinan Unur
http://www.unur.com/

- Raw text -


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