>"error C2059: syntax error '>' "
<> doesn't mean "not equal to". You want the != operator.
>"...could not deduce template argument for 'const _Elem *' from 'char'"
String literals use double quotes and character literals use single quotes. Try s != "q" . Of course, I would be a little suspicious of your logic because even if the string is "q", you still convert and print it.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401