I'm having a bit of trouble with pointers lately....still learnin more about them But more specifically then that, i'm having trouble assigning the memory address of a structure member to a pointer.. Anyone know the code for this?
Code:typedef struct { int x; int y; int z; } _3DStruct_;That is just to give you an idea about what var's are in the struct and the name of the struct.Code:_3DStruct_ ptOne;
The names of my pointers are 'pX', 'pY', and 'pZ', they need the memory addresses of x,y, and z assigned to them respectively. Any idea?