From: Ofer Corshid Newsgroups: comp.os.msdos.djgpp Subject: parameter passing Date: Sun, 09 Nov 1997 21:04:09 -0800 Organization: The hebrew University of Jerusalem Lines: 17 Message-ID: <346695C9.5E0F@cs.huji.ac.il> Reply-To: oferco AT cs DOT huji DOT ac DOT il NNTP-Posting-Host: dial-20-6.slip.huji.ac.il Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Thanks for anyone who can and will answer this: I have a hash table template. It, of course, has a "find" functions, which has the following decleration: T* find (const H& index) const I also have a Token class which I would like to initialize like this: Token *t = new Token(); and then pas it to the function find. when I try find(t) the compiler, of course, complains about the type mismatch, but when I try find(*t) the compiler gives a linking error message (see my previous previous message) and when I run symify it points to ths line which contains this operation (find(*t))!!!! How will I use "find"? Ofer.