- Posts: 91
- Thank you received: 11
This is interesting for me:
Object* object (i guess a pointer) Yes, pointer.
&object_1 (I guess by reference) No, "address of" operator to get a pointer to object_1.
Where you dereference a pointer so I also used a pointer to show code similar to what you asked about.I use this sometime : it->type=="";
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.