difference between -> and . for member selection operator.

Posted by TimothyTech on Stack Overflow See other posts from Stack Overflow or by TimothyTech
Published on 2010-06-10T23:54:10Z Indexed on 2010/06/11 0:02 UTC
Read the original article Hit count: 163

Filed under:
|
|

in this book i have I'm learning pointers, and i just got done with the chapter about OOP (spits on ground) anyways its telling me i can use a member selection operator like this ( -> ). it sayd that is is like the "." except points to objects rather than member objects. whats the difference, it looks like it is used the same way...

© Stack Overflow or respective owner

Related posts about c++

Related posts about class