Can please help me how to use srand in c++ an how to generate infinite character

please please... Help me to figure it out tnx ...:)

srand() is used to seed the random number generator srand( time(0)); calling time() will make srand() seed with a different number each time the program is run.

There is no such thing as an infinite character.

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.