deleted
deleted
Last edited by lord; 03-30-2008 at 01:45 PM.
Use a printf() to visually inspect the values at runtime right at the strcmp().
Todd
Mainframe assembler programmer by trade. C coder when I can.
Or, better yet, set a break point and use your debugger. A couple weeks ago I showed my son, who is taking his first Java class, how to use an interactive debugger.
He started laughing when I was stepping through the code. He said it was cheating, and like taking candy from a baby.
Learn to use your debugger.
Todd
Mainframe assembler programmer by trade. C coder when I can.