Using the Thinking Cap
After the period is the name of the member function that you are activating.
int main( ) {
ThinkingCap student;
ThinkingCap fan;
student.slots( "Hello", "Goodbye");
Name of the Function
Previous slide
Next slide
Back to first slide
View graphic version