Using the Thinking Cap
Just for fun, the example program will declare two ThinkingCap objects named student and fan.
#include <iostream.h>
#include <stdlib.h>
#include "thinker.h"
int main( )
{
ThinkingCap student;
ThinkingCap fan;
Previous slide
Next slide
Back to first slide
View graphic version