TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: PAUL DRUGGITT
from: CLIFF RHODES
date: 1997-05-24 20:59:00
subject: passing structures

--> Cliff Rhodes wrote to Paul Druggitt <--
I saw an error in my example. Make this line:
CR>   /* Get the offset of the data member in struc... */
CR>   size_t doffset = (char *) struc - (char *) data;
size_t doffset = (char *) data - (char *) struc;
Cliff Rhodes
cliff.rhodes@juge.com
X CMPQwk 1.42 1692 X"Everything is sweetened by risk." - Alexander Smith
--- Maximus/2 3.01
---------------
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)

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