How can I create random text?

Greetings!

I would like to learn how I can create random text output that is combined with user input.

If it helps, think of the psuedo randomness of a magic 8-ball. How can I find out how to do this in C++?
Maybe looking at switch-case structures would be helpful:

http://www.cplusplus.com/doc/tutorial/control.html
Topic archived. No new replies allowed.