| | |
Defining structure for a scenarios
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2005
Posts: 5
Reputation:
Solved Threads: 0
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.
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
- projects window (Java)
- InsertAt() in linked list (C#)
- I need help encrypting!!! (C++)
- Structure char field to a disk file (C)
- Structure Help Please (C++)
- accessing private data members (C++)
- Scandisc stops at "File Structure" (Windows 95 / 98 / Me)
Other Threads in the C++ Forum
- Previous Thread: Micosoft Visual C++ streaming problems
- Next Thread: code help
Views: 1367 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for C++
6 add api array arrays beginner binary c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete desktop directshow dll download dynamic encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelper iamthwee ifstream input int integer java lib library linkedlist linker linux loop looping loops map math matrix memory microsoft newbie news number output parameter pointer problem program programming project python random read recursion recursive reference return sort string strings struct studio system template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets





