TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DARIN MCBRIDE
from: ADAM MAJER
date: 1998-03-28 14:14:00
subject: passing by reference

DM> AM>         int **r1; <- points somewhere
DM> AM>         int &*r2; <- reference to a pointer.
DM>Not quite.  int*& r2; <- reference to a pointer.
Always screw that up but thanx to C++, you can't have pointers to a
reference meaning that I would get an error and can't really go wrong :)
 * SLMR 2.1a * I'm in shape ... round's a shape isn't it?
--- FMail 0.92
---------------
* Origin: The Programmer's Oasis on FIDONET! (1:348/203)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.