I have three questions, both related to pointers. (or so i think)...
First is ->. I see this writen alot. For example.
Code:
m_Console->SetPosition(Position);
If somebody could explain to me what is going on here, for some reason, nowhere is giving a solid definition, or I'm just not looking hard enough(which is possibly the case).
Second is 'this' in an expression such as:
I understand I didn't give much code, but i do believe it is sufficient to answer the question of, what exactually could be going on here? I understand that 'this' is directly related to classes in some way.
Finally, what exactually is the keyword 'operator'. I'm not quite understanding what it does. Example:
Code:
Vector operator + (Vector & OtherVector);
This code being inside a class. Could somebody please explain to me what exactually could be going on here.
Thank you very much for your help.