shuffling order of placements

This is a discussion on shuffling order of placements within the C++ Programming forums, part of the General Programming Boards category; Hi I have a program that displays four decks in a row, and is designed so someone can choose a ...

  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-29-2008, 12:26 AM
  2. Embedded SQL Order By
    By cjohnman in forum C Programming
    Replies: 12
    Last Post: 04-15-2008, 04:45 PM
  3. Header file include order
    By cunnus88 in forum C++ Programming
    Replies: 6
    Last Post: 05-17-2006, 04: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21