Question: main.cpp #include #include Dice.h using namespace std; int main() { // Die will all be 0 until setSeed and rollDice called Dice d1; // 2

main.cpp
#include
using namespace std;
int main() { // Die will all be 0 until setSeed and rollDice called Dice d1; // 2 6-sided dice cout
// Dice d3 = Dice(4, 20); // 4 20-sided dice // d3.setSeed(101110); // d3.rollDice(); // cout
return 0; }
Dice.h
//Dice class interface
#ifndef __DICE_H__ #define __DICE_H__
#include
class Dice { private: int _numSides; vector #endif // __DICE_H__ Dice.cpp // Dice class implementation file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
