Nov 28, 2012 at 7:05pm
g[0] gives you a character. "Q" is a string. Use single quotes 'Q' if you want a character.
Nov 28, 2012 at 7:14pm
Oh my, it was that simple. It works fine now. I was starting to use strcmp and all these things I didn't understand.
Thank you Peter.