|
-
May 30th, 2005, 03:52 AM
#1
pointer problem
hi
i have a structure such as this
struct node
{
struct block
{ node* pointer;};
int x;
}*p;
when i assign a value to the identifier pointer in any member func of the class in this way an error is generated
//let r and q be node pointers
r->block->pointer=q->block;
why is this so??
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
|