
8 Mar
2009
8 Mar
'09
4:50 p.m.
haracter but a number...
IMO this is strange, because you cut from the number a part, which might contain useful data and C++ prevents you from that. Why don't you convert it to wchar_t or unsigned short? L"..." produces multi byte char string.
Maybe it is hard to understand,but I don't need the character or wchar_t but for me the string represents a number...the number has nothing to do with the character but signed char and unsigned char is the only representation for 8bit numbers in c++...for that I don't cut anything if the number does not exceeds the limits of a 8bit number... Regards Hansjörg