This seems like it should have a simple solution, but I cannot find it. I have a single TCHAR, obtained from CString::GetAt. I need to convert it to an integer.
I cannot use _ttoi as that requires a TCHAR* not a TCHAR.
How can I convert a single character?