On the contrary, I think it is an extremely good idea to use Paul'sQuote:
Originally posted by AnthonyMai
[B]<B>It is an extremely bad idea to use Paul's random_shuffle() function to shuffle the deck as the OP requested.</B>
random_shuffle() function. The original poster stated:
"I'm making a black jack program as an excersize [sic]...."
This is clearly not a complicated gamgling simulation; nor is it
going to be a security/crypography piece of software.
I don't understand why you'd bother to make this post, given the
fact that you stated:
"To sum up, I do not see how random_shuffle() in STL has any real usage, except for as some homework assignment for students."
This is exactly what the original poster is doing: doing an exercise
so that [s]he can learn about C/C++. My guess is that you're
still going about trying to make Paul McKenzie look bad.
Unfortunately, you've failed at this attempt too; better luck next
time.
--Paul
