Just4Fun wrote:yep:
Your best bet is to search the forum using "random" or "rand" as your search term. There are a number of threads that discuss randomizing. The code depends somewhat on what you are trying to accomplish in your program.
If you are pretty comfortable with the c scripting, you might want to take a look in the demo section and download "Fortune Cookie Sooth" The program uses the rand() function to generate different fortunes. HTHs
Users browsing this forum: No registered users and 1 guest