Cplusplus question

I need assistance with defining structures:

1. Write the member function definitions...

Object Type: a pair of dice
Knows:
The vaule of each face (1-6)
Can Do:
ROll for new face values
Tell the value on each face.
Initialize the die to have a value of 1 on each face. To roll the die, use the rand() function, to generate a random number. :sad:

What have you tried so far, and why is everyone posting C++ questions in the Community Introductions forum? There's a separate C++ forum for such problems.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.