Re: Output errors

[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]

Posted by William D McQuain on November 14, 2001 at 18:07:09:

In Reply to: Output errors posted by Q on November 14, 2001 at 17:24:27:

One thing to do is make sure that you're producing some output when an unrecognized command word is read, like the default case I have in the sample program on the website.

For instance, if my program encountered the line:

fooBlacksburg, VA

it would print out "Unrecognized command found." which would help me pinpoint the error. It would be even better if I also printed out the bad command word.

One other comment: be very careful about newlines.

: I run my program and the output is indicating that search commands are being skipped. I've checked the logic of my command reader and I believe Mr. McQuain reviewed it also; it should be working. Can anyone else tell me where I might look to find what's wrong?

: Thanks very much!

Follow Ups:

Post a Followup




Optional Link URL:
Link Title:
Optional Image URL:

[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]