If you're absolutely sure you're using extended ASCII, the problem is probably sign extension when converting to int. Try int((unsigned char)c) ...
確定! 回上一頁