| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Random Seed |
DM> What are you seeding? Try using time(NULL), for an
DM> example. For another example, pilfer SNIP9509.* from
DM> some BBS around there that gets the PDNCEE file echo,
DM> as it has a lot of C/C++ code in there, including a few
DM> random number generators and at least one seed
DM> generator for the RNG's.
I just want to seed the standard rand() function. I'll look for
that file though.
Sean
--- Maximus/2 3.01
* Origin: Sanctuary from The Law BBS (1:205/46)SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955 SEEN-BY: 712/407 515 517 628 713/888 800/1 @PATH: 205/46 500 1 270/101 712/515 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.