Thread: shuffling order of placements

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    1

    shuffling order of placements

    Hi

    I have a program that displays four decks in a row, and is designed so someone can choose a deck and click on it. I would like to be able to shuffle the order that the decks are placed, so each time is different. Does anyone know a shuffle command that would do this?

  2. #2
    Just a pushpin. bernt's Avatar
    Join Date
    May 2009
    Posts
    426
    *waves magic wand*

    random_shuffle
    Consider this post signed

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Laplace Expansion
    By Leojeen in forum C Programming
    Replies: 7
    Last Post: 10-28-2008, 11:26 PM
  2. Embedded SQL Order By
    By cjohnman in forum C Programming
    Replies: 12
    Last Post: 04-15-2008, 03:45 PM
  3. Header file include order
    By cunnus88 in forum C++ Programming
    Replies: 6
    Last Post: 05-17-2006, 03:22 PM
  4. How do you order your game code?
    By Queatrix in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 02-05-2006, 06:26 PM
  5. what is the significance of low order and high order bits
    By Shadow12345 in forum Windows Programming
    Replies: 1
    Last Post: 11-16-2002, 11:46 AM