Thinking Cap Implementation
class ThinkingCap
{
public:
void slots(char new_green[ ], char new_red[ ]);
void push_green( ) const;
void push_red( ) const;
private:
char green_string[50];
char red_string[50];
};
Our thinking cap has at least three member functions:
Function bodies
will be elsewhere.
Previous slide
Next slide
Back to first slide
View graphic version