C++ Program

Nov 7, 2016 at 10:49pm
Hello, I'm new into coding and I just have a question about coding. In my class we had to create a random walking program where a person goes from a position to the right end or left end. I just wanted to know what would a random code like this be used in work? Thank you.
Last edited on Nov 12, 2016 at 6:14am
Nov 8, 2016 at 12:33am
What exactly do you need help on? I am happy to help answer questions, but I can't tell you what your teacher is expecting.
Nov 8, 2016 at 2:57am
OP: this example is straight out of C++ Primer (5th ed) by Stephen Prata, Chapter 11, sub-section 'Taking the vector class on a random walk'
Topic archived. No new replies allowed.