No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Help with sorting hand of playing cards Hi Guys, I have all my code working except sort function . I need to sort the cards in hand......and I am having hard time with that.... Any help would be really helpful ;) [code=c++] #include <algorithm> #include <iostream> #include <string> #include <stdexcept> … |
|
Hi, I have a hand of cards(array of cards)....I need to sort that with two criterias [** Value and Suite] Can you guys give me some direction to procede.....I tried using sort() in STL it does not work............ Thanks in advance :) |
|
Re:
Hi to all. I need help. Quick and easy question. Is it possible to randomize and than delate stream of character pairs(one by one) from the input file? How can I do that? The input is a stream of character pairs that represent playing cards. For example: 2C, 3H, JH... … |