You are viewing an older revision! See the latest version

Compiler Error 153

Calling method on a pointer to a class instance without using the (*instance). shorthand of -> ?

ie. its one or the other

Class Instance();
[...]
Instance.method() 

or

Class *instance = new Class();
[...]
instance->method()

All wikipages