943,945 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 1492
  • C++ RSS
May 19th, 2005
0

Defining structure for a scenarios

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
t3bruce is offline Offline
5 posts
since May 2005
May 19th, 2005
0

Re: Defining structure for a scenarios

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.
Reputation Points: 35
Solved Threads: 3
Posting Whiz in Training
Dogtree is offline Offline
232 posts
since May 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Micosoft Visual C++ streaming problems
Next Thread in C++ Forum Timeline: code help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC