- 论坛徽章:
- 0
|
请教大家一个菜鸟问题
Why dear master doesn't sweep this post out, let me got the chance to help him? hehe
you are really suck boy , this is a very basic concept of C, I suggest you to read C books.
But any way I like to bounce this time.
(RECORD *)&rr means that you cast rr to be able to store a RECORD object.
(RECORD *)rr means that you cast rr to be a pointer of RECORD type.
if you have the following:
struct RR {
RECORD record;
int test;
} rr, *rr1;
RECORD *pRec;
then you can use as following even though rr is primarily used for struct RR:
pRec = (RECORD*)&
rr1 = &
pRec = (RECORD*)rr1;
I bet you still can't understand what I said  |
|