home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH06 / A06178.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-10-21  |  384.5 KB  |  1 channel  |  11,025 sample rate  |  35 seconds
Transcription: You should use the class name and the scope resolution operator to refer to a static member of a class. Alternately, you can use the member access operator, dot, and arrow exactly as you would for non-static members. The syntax for a pointer to a static data member or a static member function is similar to that for a pointer to an object that is not a member of a class. Use the scope resolution operator to identify the member when assigning the pointer. You dereference the pointer the same way you would dereference a pointer to a non-member object.