Hi everyone, I just can't seem to find an explanation for using this "->" in code, in C++. I've migrated from Java and C#, and haven't seen this notation before. Basic example:
CMesh *pMesh = WorldObjects[i]->m_pMesh;
As best as I can tell, this is the C++ equivalent of C#'s
. (as if to say that m_pMesh is a member variable, or method of the WorldObjects object, but as it is only a code snippet, I cant check the classes to see)
Just a quick syntactic explanation is all I need. Thanks.