Thinking Cap Implementation
The two components will be private member variables. This ensures that nobody can directly access this information. The only access is through functions that we provide for the class.
class ThinkingCap
{
. . .
private:
char green_string[50];
char red_string[50];
};
Previous slide
Next slide
Back to first slide
View graphic version