need a random number generator thats not compleatly random

This is a discussion on need a random number generator thats not compleatly random within the C++ Programming forums, part of the General Programming Boards category; i have seen a diagram in a book many years ago to do with curves. say i want to random ...

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

    Exclamation need a random number generator thats not compleatly random

    i have seen a diagram in a book many years ago to do with curves.

    say i want to random generate a number between 1 and 10 , there is more chance of it picking a lower number than a high number ,and a 10 would be very rare

    can any one tell me what it is that i am looking for ?

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,338
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. random number generator help
    By mayoussa89 in forum C++ Programming
    Replies: 2
    Last Post: 04-16-2010, 07:26 AM
  2. help with random number generator
    By Brimak86 in forum C Programming
    Replies: 3
    Last Post: 01-12-2008, 08:37 PM
  3. random number generator
    By noodle24 in forum C++ Programming
    Replies: 7
    Last Post: 05-11-2006, 10:41 AM
  4. random number generator
    By Verbenaca in forum C++ Programming
    Replies: 4
    Last Post: 06-06-2005, 08:05 AM
  5. Random Number Generator?
    By DZeek in forum C++ Programming
    Replies: 21
    Last Post: 03-13-2005, 01:11 PM

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