Random number in unix C

This is a discussion on Random number in unix C within the C Programming forums, part of the General Programming Boards category; How can I generate a random number between 1 and 100 using Unix C? It's for a percentage thing. regards ...

  1. #1
    Rich-i
    Guest

    Random number in unix C

    How can I generate a random number between 1 and 100 using Unix C? It's for a percentage thing.

    regards

    Rich.

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    752
    Callou collei we'll code the way
    Of prime numbers and pings!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Random number in range generation.
    By hebali in forum C Programming
    Replies: 19
    Last Post: 03-04-2008, 09:46 AM
  2. adding a number to a number
    By bigmac(rexdale) in forum C Programming
    Replies: 11
    Last Post: 10-24-2007, 12:56 PM
  3. How exactly does the random number generator work?
    By Finchie_88 in forum C++ Programming
    Replies: 6
    Last Post: 08-24-2007, 12:46 AM
  4. random number between negative and positive number
    By anomaly in forum C++ Programming
    Replies: 6
    Last Post: 12-06-2003, 07:40 AM
  5. Random Number Generator
    By Ikurik in forum C++ Programming
    Replies: 16
    Last Post: 08-17-2003, 07:34 PM

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