help lpz

M

Michael Mair

hi

#i am looking for random number generator by c

#include <stdlib.h>

gives you

int rand(void);
void srand(unsigned int SEED);

Use srand() to seed with an arbitrary or fixed value,
then use rand().
If you want more, ask in an appropriate newsgroup for
algorithms -- we can help you with your attempt at
implementing them.


Cheers
Michael
 
H

Herbert Rosenau

On Sat, 25 Feb 2006 22:25:36 UTC, (e-mail address removed) wrote:

Who is lpz? Why does you think lpz may help you?
hi

#i am looking for random number generator by c
thanx

Look at your C documentation for srand() and rand().

--
Tschau/Bye
Herbert

Visit http://www.ecomstation.de the home of german eComStation
eComStation 1.2 Deutsch ist da!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,175
Messages
2,570,946
Members
47,497
Latest member
PilarLumpk

Latest Threads

Top