View Single Post
Old 05-12-2005, 04:37 AM   #5 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
Well, next time, post the minimal compilable code. Otherwise I am supposed to look for typos for you .

Try my STL based version of shuffling. All you need is your cards to be stored in a "normal" array or a std::vector from <vector>.
Include <algorithm> to use std::shuffle.
Just quickly startup a simple C++ console project and experiment with it. See if you like it .
__________________
Valmont is offline   Reply With Quote