c++ - When to use " . " or " -> " operators to access attribute or member function? -


in both c, c++ , objective-c, can use . or -> access values or functions. differences or drawbacks between two?

you can treat a->b (*a).b in c-language


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -