cout << (int)(unsigned char)'ä' << endl; --> 228
unsigned char test = 'ä';
cout << (int)'ä' << endl; --> -28
Someone please explain!
Thank you for your help so far Zaei
|
Results 1 to 9 of 9
Thread: char test = ???Threaded View
|
Click Here to Expand Forum to Full Width |