Please send questions to
st10@humboldt.edu .
#include <iostream>
#include "Dice.h"
using namespace std;
//------------------------------------------------------
// some INFORMAL (and not complete) tests of Dice class
// by: Sharon Tuttle
// last modified: 10-15-03
//
// compile using:
// g++ -o tryDice tryDice.cpp Dice.o randgen.o
//-----------------------------------------------------
int main()
{
Dice reg;
Dice odd(12);
cout << "6-sided die roll:" << reg.roll() << endl;
cout << "12-sided die roll: " << odd.roll() << endl;
for (int i=0; i<100; i++)
{
cout << "roll #" << (i+1) << ": " << odd.roll()
<< endl;
}
return 0;
}