FROM : Mr. Gecko
DATE : Wed May 07 23:24:05 2008
Thanks That worked grate
On May 7, 2008, at 4:17 PM, Jean-Daniel Dupas wrote:
>
> call srandomdev() before the first call to change the initial state.
>
> see man random for all details.
>
> Le 7 mai 08 à 23:10, Mr. Gecko a écrit :
>> that is not really random maybe if I had added unix time stamp
>> inside of random() how would I get that?
>> On May 7, 2008, at 4:02 PM, Jean-Daniel Dupas wrote:
>>
>>> long value = random() % 10000000;
>>
>>
DATE : Wed May 07 23:24:05 2008
Thanks That worked grate
On May 7, 2008, at 4:17 PM, Jean-Daniel Dupas wrote:
>
> call srandomdev() before the first call to change the initial state.
>
> see man random for all details.
>
> Le 7 mai 08 à 23:10, Mr. Gecko a écrit :
>> that is not really random maybe if I had added unix time stamp
>> inside of random() how would I get that?
>> On May 7, 2008, at 4:02 PM, Jean-Daniel Dupas wrote:
>>
>>> long value = random() % 10000000;
>>
>>
| Related mails | Author | Date |
|---|---|---|
| Mr. Gecko | May 7, 22:50 | |
| Seth Willits | May 7, 22:54 | |
| Shawn Erickson | May 7, 22:58 | |
| Herb Petschauer | May 7, 23:01 | |
| Jean-Daniel Dupas | May 7, 23:02 | |
| Mr. Gecko | May 7, 23:05 | |
| Seth Willits | May 7, 23:23 | |
| Mr. Gecko | May 7, 23:24 | |
| Mr. Gecko | May 8, 15:27 |






Cocoa mail archive

