Thread: Changing random numbers

  1. #1 napkin111's Avatar
    Join Date
    Apr 2002

    Question Changing random numbers

    I know I asked this question before (about 6 months ago)...but, I need to ask again. I am trying to get a program to do different things at when it comes to the same function. I was wondering how to get a function to generate a different random number, within set bounds (say between 1 and 10), every time the function is called.



  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    This is probably the same answer you got before, but


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. many questions about random numbers....
    By face_master in forum C++ Programming
    Replies: 2
    Last Post: 07-30-2009, 08:47 AM
  2. Doubts regarding random numbers generation
    By girish1026 in forum C Programming
    Replies: 9
    Last Post: 12-31-2008, 10:47 PM
  3. random numbers
    By mesmer in forum C Programming
    Replies: 4
    Last Post: 10-24-2008, 01:22 PM
  4. Generating a sequence of numbers in a random order
    By mirbogat in forum C Programming
    Replies: 15
    Last Post: 08-12-2008, 02:01 PM
  5. Generating 100k to 1 million unique random numbers
    By Ariod in forum C Programming
    Replies: 4
    Last Post: 08-26-2005, 12:59 PM