#include #include #include "Doughnut.h" using namespace std; int main() { Doughnut d1; Doughnut d2( Doughnut::Fudgie ); // for (int i = 0; i < 7; i++) { // d1.dunk("milk"); // d1.bite(); // d2.dunk(); // d2.bite(); // } if ( d1 < d2 ) cout << "Doughnut 2 is better than doughnut 1" << endl; else cout << "Doughnut 2 is no better than doughnut 1" << endl; cout << d2.getType() << endl; // Overload << so that I can do the following: // cout << d2 << endl; // and print something sensible like "Fudgie" cout << d2 << endl; return 0; }