I know it sounds selfish, but could somebody maybe post the finished code. I did that much but can't figure out the end. It would really help a lot. I could study it to figure out how to do it and learn. Thanks to anyone for the help.
My college class is doing a project in which we have to write a program that generates a deck of cards, shuffles them (srand()) and deals five cards. After that we check if they have a pair, straight, flush, straight flush, three of a kind, four of a kind, or full house, or none of the above...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.