|
-
April 21st, 2004, 02:27 AM
#1
structure of a struct...
Suppouse I have a struct/class for example:
struct cMyStruct
{
int x;
char y;
double z;
char abc[5];
char ser[6];
};
and I'm sending it/or a pointer of it as a function parameter,
for example void MyFunc(cMyStruct* myStruct)
Is there a way for the function, to the know the structure of the struct?
Is there a way to know the offset of each field in the struct?
Thanks
avi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|