In the example you give, it's really not much more typing to write strcpy (pStruct->string, "Hello"); instead of strcpy (pStruct, "Hello"); with the additional advantage of being more legible. (btw, in your example, you're copying 6 chars ("Hello\0") into a char array that is only 5 chars long.) jlh
Attachment:
signature.asc
Description: OpenPGP digital signature