random number in c

This is a discussion on random number in c within the C Programming forums, part of the General Programming Boards category; How do you generate random number within a given domain? The user must be prmopt for these domain... eg, min ...

  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    6

    Unhappy random number in c

    How do you generate random number within a given domain?
    The user must be prmopt for these domain... eg, min and max
    and a random must be generated within this domain and produce a different outcome each time.

  2. #2
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807
    Hmm, check-out the FAQ

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. rapid random number generation problem
    By Newton in forum C Programming
    Replies: 17
    Last Post: 09-19-2008, 03:08 PM
  2. Random number in range generation.
    By hebali in forum C Programming
    Replies: 19
    Last Post: 03-04-2008, 10:46 AM
  3. adding a number to a number
    By bigmac(rexdale) in forum C Programming
    Replies: 11
    Last Post: 10-24-2007, 01:56 PM
  4. random number tutorial
    By 7stud in forum C++ Programming
    Replies: 3
    Last Post: 07-26-2005, 03:41 PM
  5. Random Number Generator
    By Ikurik in forum C++ Programming
    Replies: 16
    Last Post: 08-17-2003, 08:34 PM

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