This guy is missing out. I remember doing an assignment like this in my Theory of Computation class, for a Mealy Machine. What made it hard was that conditional statements were not allowed anywhere in the program. I spent a lot of skull sweat on that one. Once the light dawned on me, I understood the true meaning of a State Machine. It was wonderful. The result was less than 60 lines of C, but it was one of the most satisfying programs I have ever written. | [reply] |
Look, if you want help with this, we'll be happy to give it.
What we won't do is do it for you. Make an effort to
solve the problem, and then come to us and show us what you've got
and what you still need help with. Don't just copy and paste your homework
assignment. We're not dumb, and the more times you try this, the less likely
you are to get some help if you actually put some effort into it.
--
Ryan Koppenhaver, Aspiring Perl Hacker
"I ask for so little. Just fear me, love me, do as I say and I will be your slave."
| [reply] |
| [reply] |
This looks like a rehash of RE: Sorry and I am voting -- on this one for the same reasons that I did that one. | [reply] |