Generating random strings: Help requested.

Generating random strings: Help requested.

Post by ven.. » Fri, 07 Aug 1992 03:03:38

Thanks in advance.

\  / /  Independence Technologies  
 \/ /   42705 Lawrence Place        FAX: 510 438-2034
  \/    Fremont, CA 94538           Voice: 510 438-8734


1. Trying to generate random random numbers!

|> I could use some help in generating random numbers.  The problem I am having
|> is that I get the same set of numbers each time that I run the program.  I
|> have tried using srandom (seed) and entering the seed from the keyboard,
|> but this also returns the same random number.  Any help would be greatly
|> appreciated!

  I have no problem at all using srandom() and random() to get random numbers,
and I expect most of the other readers of this newsgroup have no problem
either, so it's really impossible for us to diagnose the problem you are
having unless you tell us more specifically exactly what your code is doing.
For example, it would help if you would provide a short test program that
doesn't work (i.e. gets the same random numbers each time) for you.

Jonathan Kamens                               USnail:
MIT Project Athena                              11 Ashford Terrace

Office: 617-253-8085                          Home: 617-782-0710

2. Remote Printer

3. HELP: generate random numbers in csh-script?

4. can't boot freshly installed linux

5. Need help generating random characters

6. Linux as an F/R Router?

7. Help Request: String Substition Script

8. Mainstream UNIX goes open source...

9. Request for help - strings and variables manipulation.

10. Generating Random Numbers

11. Random number generating script

12. generating random numbers (FAQ??)

13. generating random file names ?