TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALL
from: PHIL OHL
date: 1998-03-27 17:27:00
subject: Pointer

I am having a minor problem getting pointers to work correctly for me. I
have made A pointer something like.
void admin::raise(employee *luckyperson)
{
luckyperson->salary *= 1.75;
}
and I call the function in main.
admin1 raise(employee1);
this code however does not seem to work.  Help!
Thank You in advance.
Phil
--- ViaMAIL!/WC4 v1.30 
---------------
* Origin: A Mind Forever Voyaging * (806)794-3778 * Lubbock,TX (1:3804/180)

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