j
k
j a
j l
change to "unsigned char". You're getting bitten by sign extension. On 7/9/2010 9:57 AM, Lloyd wrote:
Thansk Igor, it works in that case. But it is not working in this case... char a[10]; a[0]=0xFA; stringstream ss; ss< It prints FFFFFFFA
Thansk Igor, it works in that case. But it is not working in this case...
char a[10]; a[0]=0xFA; stringstream ss; ss< It prints FFFFFFFA
It prints FFFFFFFA
Back to the thread
Back to the list