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 <<code>> Class instance(); [...] classInstance.method() <</code> or <</code> Class *instance = new Class(); [...] classInstance->method() <</code>


All wikipages