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 -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -