Using the Thinking Cap
Finally, the arguments for the member function. In this example the first argument (new_green) is "Hello" and the second argument (new_red) is "Goodbye".
#include "thinker.h"
int main( ) {
ThinkingCap student;
ThinkingCap fan;
student.slots( "Hello", "Goodbye");
Arguments
Previous slide
Next slide
Back to first slide
View graphic version