(Off C++ topic) In Unix C-shell, how do I create random number?

M

Mr. Ken

Sorry for the non-C++ topic, but it's most easy to get answer from here I
guess.

How do I create random numbers (integer from 0~9999) in Unix C-shell?

I am writing a script which randomly selects some files among file bank and
sent to processing.
Now the random selection part bogs me down.
 
L

loic-dev

Sorry for the non-C++ topic, but it's most easy to get answer from here I
guess.

How do I create random numbers (integer from 0~9999) in Unix C-shell?

I believe that it would be even easier to get answers from
comp.unix.shell...

Don't be so lazy, and ask your favorite search engine... You'll find
zillion of answers to your problem.

Cheers,
Loic.
 
V

VJ

Mr. Ken said:
Sorry for the non-C++ topic, but it's most easy to get answer from here I
guess.

How do I create random numbers (integer from 0~9999) in Unix C-shell?

I am writing a script which randomly selects some files among file bank and
sent to processing.
Now the random selection part bogs me down.
The 1st page on google search gave me:
http://www.daniweb.com/techtalkforums/thread1769.html
This is a tutorial on random numbers in c++.
 

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
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top