It would be similar in principal to a random number generator, except with other values(like words) other than numbers. Thanks!Does a Coded program that randomly generates a word(or words) from a list(made by the user) exist?
it is really easy to make. you will need an array of strings with n elements. then you will have a method that when called will choose a random number in the range 0 to n and then using that random number indexes into the string array and return the corresponding value.Does a Coded program that randomly generates a word(or words) from a list(made by the user) exist?
Hi,
there is a code here:
http://www.phpjunkyard.com/random-text.p鈥?/a>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment