Using the Thinking Cap
The member function activation consists of four parts, starting with the object name.
int main( )
{
ThinkingCap student;
ThinkingCap fan;
student.slots( "Hello", "Goodbye");
Name of the object
Previous slide
Next slide
Back to first slide
View graphic version