C++ Poker, Looking for guidance... a push in the right direction even.

  • (2 Pages)
  • +
  • 1
  • 2

15 Replies - 864 Views - Last Post: 06 October 2012 - 06:54 PM Rate Topic: -----

#16 Skydiver  Icon User is offline

  • Code herder
  • member icon

Reputation: 3534
  • View blog
  • Posts: 10,941
  • Joined: 05-May 12

Re: C++ Poker, Looking for guidance... a push in the right direction even.

Posted 06 October 2012 - 06:54 PM

View Postbaavgai, on 06 October 2012 - 01:34 PM, said:

View PostSkydiver, on 06 October 2012 - 01:01 PM, said:

I only mentioned it as an aside because I noticed both you and baavgai implemented your own shuffle


I used #include <algorithm> and the very function you pointed to. I assumed the OP did the same. I also assumed, given just "string" that "using namespace std;" was in affect. So, um, huh?


I missed the line when I was scanning through it. Sorry. I think I saw the push_back()'s and the push()'s, an it looked like it was just reordering the contents. As I said, I missed the random_shuffle() call.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2