| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| 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™.