Forum: C++ May 21st, 2005 |
| Replies: 3 Views: 1,582 Could you please let me know if I wrote the enumeration defintion & the struct of the deck of cards:
enum card suit (clubs, diamond, heart, spades)
struct card
{
Card suit suit; |
Forum: C++ May 21st, 2005 |
| Replies: 3 Views: 1,582 :confused: Could you please let me know if I wrote the enumeration defintion & the struct of the deck of cards:
enum card suit (clubs, diamond, heart, spades)
struct card
{
Card suit suit; |
Forum: C++ May 19th, 2005 |
| Replies: 3 Views: 1,582 Can anyone suggest books that can help a first time C++ student. ;) |
Forum: C++ May 19th, 2005 |
| Replies: 2 Views: 1,313 using dice std;
# include <cstdlib>
int dice( )
{
int. random_ interger = rand ( )
cout << random_ interger << end 1
}<< moderator edit: added ... |
Forum: C++ May 19th, 2005 |
| Replies: 1 Views: 1,366 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... |