>"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.
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Offline 11,807 posts
since Sep 2004