can you please tell me how rand () is implemented ? i know it is library implementaion dependent. but still can you tell me the way in which it is mostly implemented ? i have searched on google, but didn't get anything which make me clear about my question. i want to know algo or which code snippet are they using and how srand() helps that function ? thanks.
nitin1 15 Master Poster
Rahul47
nitin1 15 Master Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
Moschops 683 Practically a Master Poster Featured Poster
Unimportant 18 Junior Poster
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
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.