Thinking Cap Implementation
class ThinkingCap
{
public:
void slots(char new_green[ ], char new_red[ ]);
void push_green( );
void push_red( );
private:
char green_string[50];
char red_string[50];
};
Remember that the member function’s bodies generally appear in a separate .cxx file.
Function bodies
will be in .cxx file.
Previous slide
Next slide
Back to first slide
View graphic version