Hello I got a problem while trying to use rand() fucntion.
Just by using it its self it generates a random number from 0 to RAND_MAX. The prob is that I don't know rand max, so how can I make
a costume generation, like generating from 0 20 or 0 to 30.
Thx in advance.
D4n1sD 0 Light 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.