|
|
I have problem in line 17 and cannot convert enumerated type to integer, any help? |
|
|
|
|
|
|
|
|
do you think that it could be better to use vector instead of array? |
Add(new Card*(static_cast<Card::rank>(j), static_cast<Card::rank>(i)));
you're trying to assign a value of type Card::rank to a Card*. That doesn't make sense.