I have three questions, both related to pointers. (or so i think)...
First is ->. I see this writen alot. For example.
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).Code:m_Console->SetPosition(Position);
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.Code:return * this;
Finally, what exactually is the keyword 'operator'. I'm not quite understanding what it does. Example:
This code being inside a class. Could somebody please explain to me what exactually could be going on here.Code:Vector operator + (Vector & OtherVector);
Thank you very much for your help.