Using the Thinking Cap
The instance name is followed by a period.
int main( )
{
ThinkingCap student;
ThinkingCap fan;
student.slots( "Hello", "Goodbye");
A Period
Previous slide
Next slide
Back to first slide
View graphic version