TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: PHIL OHL
from: JOHN RICHARDSON
date: 1998-04-02 15:35:00
subject: Pointer

Hi Phil,
 > admin1 raise(employee1);
 >
 > this code however does not seem to work.  Help!
You haven't told us how 'employee1' is declared. If it is not a pointer to a 
structure then you should precede the identifier with an &. You also need a 
dot ('.') between 'admin1' and 'raise'.
I.e: admin1.raise ( &employee1);
John.
--- JetMail 0.99beta23
---------------
* Origin: The Dysfunctional Refrigerator (fidonet 2:2502/60)

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™.