Defining structure for a scenarios

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: May 2005
Posts: 5
Reputation: t3bruce is an unknown quantity at this point 
Solved Threads: 0
t3bruce t3bruce is offline Offline
Newbie Poster

Defining structure for a scenarios

 
0
  #1
May 19th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 232
Reputation: Dogtree is an unknown quantity at this point 
Solved Threads: 3
Dogtree's Avatar
Dogtree Dogtree is offline Offline
Posting Whiz in Training

Re: Defining structure for a scenarios

 
0
  #2
May 19th, 2005
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 1367 | Replies: 1
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC