can anyone tell what did i wrong on this random number? http://pastebin.com/M3J9u5sR
chubbyy.putto
0
Junior Poster in Training
Recommended Answers
Jump to PostAnd what IS your problem. Most rand() functions are at best "pseudo-random" - ie, not so much. This is a good tutorial on the subject: http://www.phy.ornl.gov/csep/CSEP/RN/RN.html
From the site: page 2
Anyone who considers arithmetical methods of producing random digits is, of course, …
Jump to PostHi, "chubbyy.putto."
(Perhaps you could include at least your first name in your Profile, so we can address you with a proper name instead of your forum handle.)
Did you ever get your program working like you wanted?
Was your assignment to write the program, or did you just need …
All 5 Replies
chubbyy.putto
0
Junior Poster in Training
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
vmanes
1,165
Posting Virtuoso
DavidB
44
Junior Poster
rubberman
commented:
Like their use of atmospheric "noise" to seed the generator! :-)
+12
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.