"::", "->", "."

xiaoxiao2021-03-06  111

1. Scope Operators :: Use it to identify which class belongs to which class belongs, the operator uses the following: :: () 2. -> is a Represents the operator of the member, the difference is: -> to represent a member of the pointer to the object, and. Used to represent a member of the general object. The former represents the data member, and the latter represents the member function. 3.

转载请注明原文地址:https://www.9cbs.com/read-102850.html

New Post(0)